diff options
author | Lionel Landwerlin <llandwerlin@gmail.com> | 2013-09-05 11:53:57 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2013-09-23 15:02:31 +0100 |
commit | d33f8ca070930303b6832844198920dd8d3c9dbd (patch) | |
tree | 7ff1dfdf9328da0ce3ad608375164e5cb8f14ce5 /cogl | |
parent | fbba3478a8be6b767fd13040bbfb1da19dadc842 (diff) | |
download | cogl-d33f8ca070930303b6832844198920dd8d3c9dbd.tar.gz |
texture: add missing annotations
Reviewed-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'cogl')
-rw-r--r-- | cogl/cogl-texture.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/cogl/cogl-texture.h b/cogl/cogl-texture.h index 46788847..1528414e 100644 --- a/cogl/cogl-texture.h +++ b/cogl/cogl-texture.h @@ -112,7 +112,7 @@ uint32_t cogl_texture_error_quark (void); * * 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 */ @@ -138,7 +138,8 @@ cogl_texture_new_with_size (unsigned int width, * * 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 */ @@ -168,7 +169,8 @@ cogl_texture_new_from_file (const char *filename, * * 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 */ @@ -202,7 +204,8 @@ cogl_texture_new_from_data (int width, * the waste arguments to tell Cogl which region should be mapped to * 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 */ @@ -224,7 +227,8 @@ cogl_texture_new_from_foreign (unsigned int gl_handle, * * 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 */ @@ -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 * 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 */ CoglTexture * @@ -551,7 +556,7 @@ cogl_texture_new_from_sub_texture (CoglTexture *full_texture, int sub_height); /** - * cogl_texture_ref: + * cogl_texture_ref: (skip) * @texture: a #CoglTexture. * * Increment the reference count for a cogl texture. @@ -565,7 +570,7 @@ void * cogl_texture_ref (void *texture); /** - * cogl_texture_unref: + * cogl_texture_unref: (skip) * @texture: a #CoglTexture. * * Decrement the reference count for a cogl texture. |