mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 18:09:10 +00:00
Miguel A. Vico
0f93452488
renderer/native: Choose first EGL config for non-GBM backends
Commit 712ec30cd9be1f180c3789e7e6a042c5f7b5781d added the logic to only choose EGL configs that match the GBM_FORMAT_XRGB8888 pixel format. However, there won't be any EGL config satisfying such criteria for non-GBM backends, such as EGLDevice. This change will let us choose the first EGL config for the EGLDevice backend, while still forcing GBM_FORMAT_XRGB8888 configs for the GBM one. Related to: https://gitlab.gnome.org/GNOME/mutter/issues/2 (cherry picked from commit 1bf2eb95b502ed0419b0fe8979c022cacaf79e84)
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%