summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-07-09 21:15:36 +0100
committerEric Engestrom <[email protected]>2018-08-23 14:47:59 +0100
commita0f6a1194464611bd93491c6d066b07db0615f27 (patch)
treea4623e1f42e7b9f79c133036bd405283763e8b9b
parent87fbc16e3485306adfc625aafac1d04c58f7df22 (diff)
egl: drop unused _EGL_BUILT_IN_DRIVER_DRI2
Unused since b174a1ae720cb404738c "egl: Simplify the "driver" interface". Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
-rw-r--r--src/egl/Android.mk1
-rw-r--r--src/egl/Makefile.am3
-rw-r--r--src/egl/meson.build1
3 files changed, 1 insertions, 4 deletions
diff --git a/src/egl/Android.mk b/src/egl/Android.mk
index 11128ded93c..42b391e6d86 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 485f145cece..bf7f87015b7 100644
--- a/src/egl/Makefile.am
+++ b/src/egl/Makefile.am
@@ -120,8 +120,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 06922c6c3cf..e11e589b945 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