Skip to content

cogl: Use sized internal renderable formats

Sebastian Wick requested to merge swick/mutter:wip/cogl-gl-internal-format into main

Using sized internal formats is required to make sure we actually get the precision that we want.

The formats should also be renderable, otherwise they can not be used as a framebuffer attachment. For GLES we have to check for a bunch of extensions and fall back to internal formats with more bits when they are not available.

For half float and 10bpc formats there is no fallback so support for them has to be explicitly checked via CoglFeatureIDs:


Merge request reports