1
0
Fork 0
mutter-performance-source/cogl/driver/gl
Robert Bragg fbec2a5ad7 moves and renames _cogl_get_format_bpp
This moves _cogl_get_format_bpp from cogl-bitmap.c to cogl.c and renames
it to _cogl_pixel_format_get_bytes_per_pixel. This makes it clearer that
it doesn't return bits per pixel and makes the naming consistent with
other cogl api. The prototype has been moved to cogl-private.h since it
seems we should be aiming to get rid of cogl-internal.h at some point.

The patch also adds a simple gtk-doc comment since we might want to make
this api public.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
2012-02-20 23:12:44 +00:00
..
cogl-gl.c Adds support for a mirrored repeat wrap mode 2011-11-01 12:03:02 +00:00
cogl-texture-driver-gl.c moves and renames _cogl_get_format_bpp 2012-02-20 23:12:44 +00:00