Robert Bragg e3c4522a86 Adds a _cogl_util_pixel_format_from_masks API
This adds a utility function for inferring a CoglPixelFormat from a
set of channel masks, a bits-per-pixel value, a pixel-depth value and
pixel byte order.

This plan is to use this to improve how we map X visuals to Cogl pixel
formats.

This patch was based on some ideas from Damien Leone <dleone@nvidia.com>

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

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