Damien Leone 8b70468598 Improve pixel format detection for fallback OpenGL rendering
The previous detection was based on bits per pixel only and would
consider bpp >= 24 as X888 or 8888 24-bit color depth formats.

This commit ensures we now use the newly added
_cogl_util_pixel_format_from_masks() api that returns a CoglPixelFormat
according to channel masks and color depth. This helps to add support
for more pixel formats.

https://bugzilla.gnome.org/show_bug.cgi?id=660188

Reviewed-by: Robert Bragg <robert@linux.intel.com>
Reviewed-by: Neil Roberts <neil@linux.intel.com>
2012-02-20 23:12:45 +00:00
..
2012-02-14 20:42:10 +00:00
2010-06-01 12:08:18 +01:00
2011-06-09 16:21:15 +01:00
2012-02-14 20:42:10 +00:00
2012-02-14 20:42:10 +00:00
2012-02-14 20:42:10 +00:00
2011-11-01 12:03:02 +00:00
2012-02-15 14:57:59 +00:00
2011-11-01 12:03:02 +00:00
2012-02-14 20:42:10 +00:00
2012-02-15 22:50:09 +08:00
2011-08-12 15:28:42 +01:00