diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2021-07-20 17:52:47 -0700 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-07-21 23:12:58 +0000 |
commit | 47946855f19cc7d082fd59e090bb83f5d3930871 (patch) | |
tree | 7af5400728ab08fc536c3a3bd4ca6f8f2cdcf50d /meson_options.txt | |
parent | 384181921c23fc7630b4a7d373f5b6755d20c8af (diff) |
meson: allow egl_native_platform to be specified
After commit f8dc22bf61c, it was no longer possible to have explicitly
enabled platforms with surfaceless being the EGL native platform. This
fixes that by adding -Degl-native-platform.
Fixes: f8dc22bf61c ("meson: drop deprecated EGL platform build options")
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11992>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 2c11092eeb4..29c402c4844 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -28,6 +28,16 @@ option( description : 'window systems to support. If this is set to `auto`, all platforms applicable will be enabled.' ) option( + 'egl-native-platform', + type : 'combo', + value : 'auto', + choices : [ + 'auto', 'x11', 'wayland', 'haiku', 'android', 'windows', + 'surfaceless', 'drm', + ], + description : 'the window system EGL assumes for EGL_DEFAULT_DISPLAY', +) +option( 'android-stub', type : 'boolean', value : false, |