mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 01:48:55 +00:00
bitmap: add missing annotations
Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
parent
7cc83d58a2
commit
95b0c4c558
@ -62,8 +62,8 @@ COGL_BEGIN_DECLS
|
|||||||
* Loads an image file from disk. This function can be safely called from
|
* Loads an image file from disk. This function can be safely called from
|
||||||
* within a thread.
|
* within a thread.
|
||||||
*
|
*
|
||||||
* Return value: a #CoglBitmap to the new loaded image data, or
|
* Return value: (transfer full): a #CoglBitmap to the new loaded
|
||||||
* %NULL if loading the image failed.
|
* image data, or %NULL if loading the image failed.
|
||||||
*
|
*
|
||||||
* Since: 1.0
|
* Since: 1.0
|
||||||
*/
|
*/
|
||||||
@ -81,8 +81,8 @@ cogl_bitmap_new_from_file (const char *filename,
|
|||||||
*
|
*
|
||||||
* Loads an Android asset into a newly allocated #CoglBitmap.
|
* Loads an Android asset into a newly allocated #CoglBitmap.
|
||||||
*
|
*
|
||||||
* Return value: A newly allocated #CoglBitmap holding the image data of the
|
* Return value: (transfer full): A newly allocated #CoglBitmap
|
||||||
* specified asset.
|
* holding the image data of the specified asset.
|
||||||
*
|
*
|
||||||
* Since: 2.0
|
* Since: 2.0
|
||||||
*/
|
*/
|
||||||
@ -109,7 +109,7 @@ cogl_android_bitmap_new_from_asset (CoglContext *context,
|
|||||||
* Wraps some image data that has been uploaded into a #CoglBuffer as
|
* Wraps some image data that has been uploaded into a #CoglBuffer as
|
||||||
* a #CoglBitmap. The data is not copied in this process.
|
* a #CoglBitmap. The data is not copied in this process.
|
||||||
*
|
*
|
||||||
* Return value: a #CoglBitmap encapsulating the given @buffer.
|
* Return value: (transfer full): a #CoglBitmap encapsulating the given @buffer.
|
||||||
*
|
*
|
||||||
* Since: 1.8
|
* Since: 1.8
|
||||||
* Stability: unstable
|
* Stability: unstable
|
||||||
@ -145,8 +145,8 @@ cogl_bitmap_new_from_buffer (CoglBuffer *buffer,
|
|||||||
* writing into it. The stride can be retrieved with
|
* writing into it. The stride can be retrieved with
|
||||||
* cogl_bitmap_get_rowstride().</note>
|
* cogl_bitmap_get_rowstride().</note>
|
||||||
*
|
*
|
||||||
* Return value: a #CoglPixelBuffer representing the newly created array or
|
* Return value: (transfer full): a #CoglPixelBuffer representing the
|
||||||
* %NULL on failure
|
* newly created array or %NULL on failure
|
||||||
*
|
*
|
||||||
* Since: 1.10
|
* Since: 1.10
|
||||||
* Stability: Unstable
|
* Stability: Unstable
|
||||||
@ -173,7 +173,7 @@ cogl_bitmap_new_with_size (CoglContext *context,
|
|||||||
* cogl_framebuffer_read_pixels_into_bitmap() to read data directly
|
* cogl_framebuffer_read_pixels_into_bitmap() to read data directly
|
||||||
* into an application buffer with the specified rowstride.
|
* into an application buffer with the specified rowstride.
|
||||||
*
|
*
|
||||||
* Return value: A new #CoglBitmap.
|
* Return value: (transfer full): A new #CoglBitmap.
|
||||||
* Since: 1.10
|
* Since: 1.10
|
||||||
* Stability: unstable
|
* Stability: unstable
|
||||||
*/
|
*/
|
||||||
@ -235,8 +235,8 @@ cogl_bitmap_get_rowstride (CoglBitmap *bitmap);
|
|||||||
* cogl_bitmap_get_buffer:
|
* cogl_bitmap_get_buffer:
|
||||||
* @bitmap: A #CoglBitmap
|
* @bitmap: A #CoglBitmap
|
||||||
*
|
*
|
||||||
* Return value: the #CoglPixelBuffer that this buffer uses for
|
* Return value: (transfer none): the #CoglPixelBuffer that this
|
||||||
* storage. Note that if the bitmap was created with
|
* buffer uses for storage. Note that if the bitmap was created with
|
||||||
* cogl_bitmap_new_from_file() then it will not actually be using a
|
* cogl_bitmap_new_from_file() then it will not actually be using a
|
||||||
* pixel buffer and this function will return %NULL.
|
* pixel buffer and this function will return %NULL.
|
||||||
* Stability: unstable
|
* Stability: unstable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user