mirror of
https://github.com/brl/mutter.git
synced 2025-01-25 19:08:56 +00:00
texture-rectangle: add missing transfer annotations
Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
parent
dfa0bdc9ed
commit
1cb2747ea0
@ -102,9 +102,10 @@ cogl_is_texture_rectangle (void *object);
|
|||||||
* first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
|
* first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
|
||||||
* using cogl_has_feature().</note>
|
* using cogl_has_feature().</note>
|
||||||
*
|
*
|
||||||
* Returns: A pointer to a newly allocated #CoglTextureRectangle texture
|
* Return value: (transfer full): A pointer to a newly allocated
|
||||||
* or if the size was too large or there wasn't enough memory
|
* #CoglTextureRectangle texture or if the size was too large
|
||||||
* %NULL is returned and @error set.
|
* or there wasn't enough memory %NULL is returned and @error
|
||||||
|
* set.
|
||||||
*
|
*
|
||||||
* Since: 1.10
|
* Since: 1.10
|
||||||
* Stability: unstable
|
* Stability: unstable
|
||||||
@ -143,9 +144,10 @@ cogl_texture_rectangle_new_with_size (CoglContext *ctx,
|
|||||||
* first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
|
* first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
|
||||||
* using cogl_has_feature().</note>
|
* using cogl_has_feature().</note>
|
||||||
*
|
*
|
||||||
* Returns: A pointer to a newly allocated #CoglTextureRectangle texture
|
* Return value: (transfer full): A pointer to a newly allocated
|
||||||
* or if the size was too large or there wasn't enough memory
|
* #CoglTextureRectangle texture or if the size was too large
|
||||||
* %NULL is returned and @error set.
|
* or there wasn't enough memory %NULL is returned and @error
|
||||||
|
* set.
|
||||||
* Since: 2.0
|
* Since: 2.0
|
||||||
* Stability: unstable
|
* Stability: unstable
|
||||||
*/
|
*/
|
||||||
@ -184,12 +186,11 @@ cogl_texture_rectangle_new_from_bitmap (CoglBitmap *bitmap,
|
|||||||
* first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
|
* first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
|
||||||
* using cogl_has_feature().</note>
|
* using cogl_has_feature().</note>
|
||||||
|
|
||||||
* Returns: A newly allocated #CoglTextureRectangle, or if Cogl could
|
* Return value: (transfer full): A newly allocated
|
||||||
* not validate the @gl_handle in some way (perhaps because
|
* #CoglTextureRectangle, or if Cogl could not validate the
|
||||||
* of an unsupported format) it will return %NULL and set
|
* @gl_handle in some way (perhaps because of an unsupported
|
||||||
* @error.
|
* format) it will return %NULL and set @error.
|
||||||
*
|
*
|
||||||
|
|
||||||
*/
|
*/
|
||||||
CoglTextureRectangle *
|
CoglTextureRectangle *
|
||||||
cogl_texture_rectangle_new_from_foreign (CoglContext *ctx,
|
cogl_texture_rectangle_new_from_foreign (CoglContext *ctx,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user