summaryrefslogtreecommitdiff
path: root/cogl/cogl/driver/gl/gl/cogl-driver-gl.c
diff options
context:
space:
mode:
authorNiels De Graef <niels.degraef@barco.com>2019-04-04 12:33:43 +0200
committerNiels De Graef <niels.degraef@barco.com>2019-06-03 15:09:58 +0200
commitd3ed857ebc346727c2ce12c3fa2ecfa1bd10a37d (patch)
treef8c7ab30f92a3d2cb05ca7eb1ce7bc55f68ca583 /cogl/cogl/driver/gl/gl/cogl-driver-gl.c
parent69cebc2a70ceca9114025c3475d3f92b4c3edb12 (diff)
downloadmutter-d3ed857ebc346727c2ce12c3fa2ecfa1bd10a37d.tar.gz
cogl: Map CoglPixelFormats to their specific properties
By providing an (internal) table to map `CoglPixelFormat`s to their respective properties we will be able to get rid of the unusual enum values in the future. This is something we will need once we want to have support for more pixel formats (such as YUV-based formats). As an extra feature, we provide a `to_string()` method, which is quite useful for debugging purposes (rather than deciphering enum values). https://gitlab.gnome.org/GNOME/mutter/merge_requests/524
Diffstat (limited to 'cogl/cogl/driver/gl/gl/cogl-driver-gl.c')
0 files changed, 0 insertions, 0 deletions