Make _cogl_bitmap_get_{width,height,format,rowstride} public
This are now marked as public experimental Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
@ -124,22 +124,10 @@ _cogl_bitmap_get_size_from_file (const char *filename,
|
||||
int *width,
|
||||
int *height);
|
||||
|
||||
CoglPixelFormat
|
||||
_cogl_bitmap_get_format (CoglBitmap *bitmap);
|
||||
|
||||
void
|
||||
_cogl_bitmap_set_format (CoglBitmap *bitmap,
|
||||
CoglPixelFormat format);
|
||||
|
||||
int
|
||||
_cogl_bitmap_get_width (CoglBitmap *bitmap);
|
||||
|
||||
int
|
||||
_cogl_bitmap_get_height (CoglBitmap *bitmap);
|
||||
|
||||
int
|
||||
_cogl_bitmap_get_rowstride (CoglBitmap *bitmap);
|
||||
|
||||
/* Maps the bitmap so that the pixels can be accessed directly or if
|
||||
the bitmap is just a memory bitmap then it just returns the pointer
|
||||
to memory. Note that the bitmap isn't guaranteed to allocated to
|
||||
|
Reference in New Issue
Block a user