mirror of
https://github.com/brl/mutter.git
synced 2025-02-21 15:34:11 +00:00

Cogl doesn't use `COGL_PIXEL_FORMAT_G_8` anywhere, and it has differing implementations depending on the driver (Mesa averages it out over the diferent components, while NVIDIA stores it in the R component). Furthermore, by having this new pixel format, we can use this for single-component uploads, which will be useful when dealing with non-trivial textures (such as YUV-based textures).