1
0
Fork 0
mutter-performance-source/cogl
Michel Dänzer e1f795ff79 onscreen/native: Add and use choose_onscreen_egl_config helper
If the EGL_KHR_no_config_context extension is supported, use it to
choose a format per onscreen which is compatible with the scanout CRTC
and the GL rendering API used.

Suggested by Jonas Ådahl.

v2:
* Drop code which checked for GLES3 renderability. Makes no sense for
  various reasons, in particular that EGLconfigs are about EGLSurfaces,
  whereas secondary GPU contexts use an FBO for blitting.
* Use error parameter directly for meta_renderer_native_choose_gbm_format
  call (Jonas Ådahl)

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3139>
2023-11-23 20:11:31 +00:00
..
cogl onscreen/native: Add and use choose_onscreen_egl_config helper 2023-11-23 20:11:31 +00:00
cogl-pango build: One config file to rule them all 2023-11-15 12:00:19 +00:00
meson.build build: One config file to rule them all 2023-11-15 12:00:19 +00:00