mutter/cogl/driver/gl
Robert Bragg cc4aa97579 Handle all formats in _cogl_texture_driver_pixel_format_to_gl
The _cogl_texture_driver_pixel_format_to_gl functions for OpenGL and
OpenGLES convert CoglPixelFormats into corresponding gl enums that can
be used to upload texture data. Previously we were only handling a few
specific formats but this patch updates the functions to handle all the
formats we know about. The functions now also switch() on the format so
that we will get build time warnings if we forget to handle new formats
in these functions.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
2012-02-20 23:12:45 +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 Handle all formats in _cogl_texture_driver_pixel_format_to_gl 2012-02-20 23:12:45 +00:00