
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>