Mesa (master): meson: drop deprecated EGL platform build options

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Nov 20 21:52:27 UTC 2020


Module: Mesa
Branch: master
Commit: f8dc22bf61c1e6008f6954ffd25c1ee322f500c6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8dc22bf61c1e6008f6954ffd25c1ee322f500c6

Author: Eric Engestrom <eric at engestrom.ch>
Date:   Fri Jul 10 16:11:46 2020 +0200

meson: drop deprecated EGL platform build options

These two options were deprecated and announced to be removed in 20.3,
so let's drop them now.

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Acked-by: Emil Velikov <emil.velikov at collabora.com>
Acked-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Adam Jackson <ajax at redhat.com>
Cc: 20.3 <mesa-stable>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5844>

---

 meson.build       | 8 --------
 meson_options.txt | 3 +--
 2 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/meson.build b/meson.build
index e25f9fcde39..a1692bfb0b3 100644
--- a/meson.build
+++ b/meson.build
@@ -355,14 +355,6 @@ with_platform_wayland = _platforms.contains('wayland')
 with_platform_haiku = _platforms.contains('haiku')
 with_platform_windows = _platforms.contains('windows')
 
-if _platforms.contains('surfaceless')
-  warning('Platform `surfaceless` is now always selected; setting this option will be an error in Mesa 20.3')
-endif
-
-if _platforms.contains('drm')
-  warning('Platform `drm` is now automatically selected; setting this option will be an error in Mesa 20.3')
-endif
-
 if _platforms.length() != 0
   egl_native_platform = _platforms[0]
 else
diff --git a/meson_options.txt b/meson_options.txt
index 7637c4cbb73..1847928cea2 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -23,8 +23,7 @@ option(
   type : 'array',
   value : ['auto'],
   choices : [
-    'auto', 'x11', 'wayland', 'drm', 'surfaceless', 'haiku', 'android',
-    'windows',
+    'auto', 'x11', 'wayland', 'haiku', 'android', 'windows',
   ],
   description : 'window systems to support. If this is set to `auto`, all platforms applicable will be enabled.'
 )



More information about the mesa-commit mailing list