[Mesa-dev] [PATCH mesa] egl: drop unused _EGL_BUILT_IN_DRIVER_DRI2

Eric Engestrom eric at engestrom.ch
Mon Jul 9 20:15:36 UTC 2018


Unused since b174a1ae720cb404738c "egl: Simplify the "driver" interface".

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
---
 src/egl/Android.mk  | 1 -
 src/egl/Makefile.am | 3 +--
 src/egl/meson.build | 1 -
 3 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/egl/Android.mk b/src/egl/Android.mk
index 8412aeb7984a4c0cd784..f05b4bda589db0c86216 100644
--- a/src/egl/Android.mk
+++ b/src/egl/Android.mk
@@ -40,7 +40,6 @@ LOCAL_SRC_FILES := \
 
 LOCAL_CFLAGS := \
 	-D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_ANDROID \
-	-D_EGL_BUILT_IN_DRIVER_DRI2 \
 	-DHAVE_ANDROID_PLATFORM
 
 LOCAL_C_INCLUDES := \
diff --git a/src/egl/Makefile.am b/src/egl/Makefile.am
index 1a2273b8c3167b934e20..f70d49ac1e4fe48ec775 100644
--- a/src/egl/Makefile.am
+++ b/src/egl/Makefile.am
@@ -119,8 +119,7 @@ AM_CFLAGS += \
 	-I$(top_srcdir)/src/gbm/backends/dri \
 	-I$(top_builddir)/src/egl/wayland/wayland-drm \
 	-I$(top_srcdir)/src/egl/wayland/wayland-drm \
-	-DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\" \
-	-D_EGL_BUILT_IN_DRIVER_DRI2
+	-DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\"
 
 nodist_libEGL_common_la_SOURCES = \
 	$(dri2_backend_GENERATED_FILES)
diff --git a/src/egl/meson.build b/src/egl/meson.build
index 5f30bbba89a2f98fbe78..fd04a0daedf4b97b1530 100644
--- a/src/egl/meson.build
+++ b/src/egl/meson.build
@@ -93,7 +93,6 @@ if with_dri2
   )
   c_args_for_egl += [
     '-DDEFAULT_DRIVER_DIR="@0@"'.format(dri_search_path),
-    '-D_EGL_BUILT_IN_DRIVER_DRI2',
   ]
 endif
 
-- 
Cheers,
  Eric



More information about the mesa-dev mailing list