From e18599b05e0f0cbeba11adbd489e801285470eab Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 25 May 2020 17:02:38 +0200 Subject: [PATCH] render/egl: stop including eglmesaext.h This is a Mesa-specific header that was needed because some Wayland EGL extensions were missing from the Khronos registry. Now that this has been fixed [1] and Mesa [2] & glvnd [3] have sync'ed their headers, we can drop this workaround. [1]: https://github.com/KhronosGroup/EGL-Registry/pull/95 [2]: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4953 [3]: https://gitlab.freedesktop.org/glvnd/libglvnd/-/merge_requests/225 --- include/wlr/config.h.in | 2 -- include/wlr/render/egl.h | 4 ---- meson.build | 5 ----- 3 files changed, 11 deletions(-) diff --git a/include/wlr/config.h.in b/include/wlr/config.h.in index 77a15598..cd42987b 100644 --- a/include/wlr/config.h.in +++ b/include/wlr/config.h.in @@ -1,8 +1,6 @@ #ifndef WLR_CONFIG_H #define WLR_CONFIG_H -#mesondefine WLR_HAS_EGLMESAEXT_H - #mesondefine WLR_HAS_LIBCAP #mesondefine WLR_HAS_SYSTEMD diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h index 48382f6d..46af0cf8 100644 --- a/include/wlr/render/egl.h +++ b/include/wlr/render/egl.h @@ -23,10 +23,6 @@ #include #include -#if WLR_HAS_EGLMESAEXT_H -// TODO: remove eglmesaext.h -#include -#endif #include #include #include diff --git a/meson.build b/meson.build index 348fc2a2..95fdff65 100644 --- a/meson.build +++ b/meson.build @@ -87,7 +87,6 @@ conf_data.set10('WLR_HAS_X11_BACKEND', false) conf_data.set10('WLR_HAS_XWAYLAND', false) conf_data.set10('WLR_HAS_XCB_ERRORS', false) conf_data.set10('WLR_HAS_XCB_ICCCM', false) -conf_data.set10('WLR_HAS_EGLMESAEXT_H', false) # Clang complains about some zeroed initializer lists (= {0}), even though they # are valid @@ -111,10 +110,6 @@ pixman = dependency('pixman-1') math = cc.find_library('m') rt = cc.find_library('rt') -if cc.has_header('EGL/eglmesaext.h', dependencies: egl) - conf_data.set10('WLR_HAS_EGLMESAEXT_H', true) -endif - wlr_files = [] wlr_deps = [ wayland_server,