mirror of
https://github.com/brl/mutter.git
synced 2025-03-01 02:54:09 +00:00

Also be more strict about what we consider RGBA1010102 support. Before GLES 3.0, using ReadPixels on a framebuffers with format RGB10_A2 was not possible with type GL_UNSIGNED_INT_2_10_10_10_REV_EXT and thus our code to read back pixels could fail. Users of cogl should check those feature flags before using FP16 and RGBA1010102 pixel formats via CoglFeatureIDs: * COGL_FEATURE_ID_TEXTURE_RGBA1010102 * COGL_FEATURE_ID_TEXTURE_HALF_FLOAT Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3429>