texture: add missing annotations
Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
parent
fbba3478a8
commit
d33f8ca070
@ -112,7 +112,7 @@ uint32_t cogl_texture_error_quark (void);
|
|||||||
*
|
*
|
||||||
* Creates a new #CoglTexture with the specified dimensions and pixel format.
|
* Creates a new #CoglTexture with the specified dimensions and pixel format.
|
||||||
*
|
*
|
||||||
* Return value: A newly created #CoglTexture or %NULL on failure
|
* Return value: (transfer full): A newly created #CoglTexture or %NULL on failure
|
||||||
*
|
*
|
||||||
* Since: 0.8
|
* Since: 0.8
|
||||||
*/
|
*/
|
||||||
@ -138,7 +138,8 @@ cogl_texture_new_with_size (unsigned int width,
|
|||||||
*
|
*
|
||||||
* Creates a #CoglTexture from an image file.
|
* Creates a #CoglTexture from an image file.
|
||||||
*
|
*
|
||||||
* Return value: A newly created #CoglTexture or %NULL on failure
|
* Return value: (transfer full): A newly created #CoglTexture or
|
||||||
|
* %NULL on failure
|
||||||
*
|
*
|
||||||
* Since: 0.8
|
* Since: 0.8
|
||||||
*/
|
*/
|
||||||
@ -168,7 +169,8 @@ cogl_texture_new_from_file (const char *filename,
|
|||||||
*
|
*
|
||||||
* Creates a new #CoglTexture based on data residing in memory.
|
* Creates a new #CoglTexture based on data residing in memory.
|
||||||
*
|
*
|
||||||
* Return value: A newly created #CoglTexture or %NULL on failure
|
* Return value: (transfer full): A newly created #CoglTexture or
|
||||||
|
* %NULL on failure
|
||||||
*
|
*
|
||||||
* Since: 0.8
|
* Since: 0.8
|
||||||
*/
|
*/
|
||||||
@ -202,7 +204,8 @@ cogl_texture_new_from_data (int width,
|
|||||||
* the waste arguments to tell Cogl which region should be mapped to
|
* the waste arguments to tell Cogl which region should be mapped to
|
||||||
* the texture coordinate range [0:1].
|
* the texture coordinate range [0:1].
|
||||||
*
|
*
|
||||||
* Return value: A newly created #CoglTexture or %NULL on failure
|
* Return value: (transfer full): A newly created #CoglTexture or
|
||||||
|
* %NULL on failure
|
||||||
*
|
*
|
||||||
* Since: 0.8
|
* Since: 0.8
|
||||||
*/
|
*/
|
||||||
@ -224,7 +227,8 @@ cogl_texture_new_from_foreign (unsigned int gl_handle,
|
|||||||
*
|
*
|
||||||
* Creates a #CoglTexture from a #CoglBitmap.
|
* Creates a #CoglTexture from a #CoglBitmap.
|
||||||
*
|
*
|
||||||
* Return value: A newly created #CoglTexture or %NULL on failure
|
* Return value: (transfer full): A newly created #CoglTexture or
|
||||||
|
* %NULL on failure
|
||||||
*
|
*
|
||||||
* Since: 1.0
|
* Since: 1.0
|
||||||
*/
|
*/
|
||||||
@ -540,7 +544,8 @@ cogl_texture_set_region_from_bitmap (CoglTexture *texture,
|
|||||||
* not need to keep one separately if you only want to use the sub
|
* not need to keep one separately if you only want to use the sub
|
||||||
* texture.
|
* texture.
|
||||||
*
|
*
|
||||||
* Return value: A newly created #CoglTexture or %NULL on failure
|
* Return value: (transfer full): A newly created #CoglTexture or
|
||||||
|
* %NULL on failure
|
||||||
* Since: 1.2
|
* Since: 1.2
|
||||||
*/
|
*/
|
||||||
CoglTexture *
|
CoglTexture *
|
||||||
@ -551,7 +556,7 @@ cogl_texture_new_from_sub_texture (CoglTexture *full_texture,
|
|||||||
int sub_height);
|
int sub_height);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* cogl_texture_ref:
|
* cogl_texture_ref: (skip)
|
||||||
* @texture: a #CoglTexture.
|
* @texture: a #CoglTexture.
|
||||||
*
|
*
|
||||||
* Increment the reference count for a cogl texture.
|
* Increment the reference count for a cogl texture.
|
||||||
@ -565,7 +570,7 @@ void *
|
|||||||
cogl_texture_ref (void *texture);
|
cogl_texture_ref (void *texture);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* cogl_texture_unref:
|
* cogl_texture_unref: (skip)
|
||||||
* @texture: a #CoglTexture.
|
* @texture: a #CoglTexture.
|
||||||
*
|
*
|
||||||
* Decrement the reference count for a cogl texture.
|
* Decrement the reference count for a cogl texture.
|
||||||
|
Loading…
Reference in New Issue
Block a user