mirror of
https://github.com/brl/mutter.git
synced 2025-07-09 04:08:12 +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).