[Mesa-dev] [PATCH 11/11] android: egl: do not link against libglapi

Emil Velikov emil.l.velikov at gmail.com
Fri Jun 19 12:56:56 PDT 2015


The only reason we touch glapi is to dlopen it to:
 - make sure that the unresolved _glapi* symbols in the dri modules are
provided.
 - fetch glFlush() and use it at various stages in the dri2 driver.

XXX: If anyone has suggestions why the latter is required (or can
recommend any reading material) I'm all ears.

Cc: Chih-Wei Huang <cwhuang at linux.org.tw>
Cc: Eric Anholt <eric at anholt.net>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/egl/main/Android.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/egl/main/Android.mk b/src/egl/main/Android.mk
index 8f687e9..0ba7295 100644
--- a/src/egl/main/Android.mk
+++ b/src/egl/main/Android.mk
@@ -44,7 +44,6 @@ LOCAL_CFLAGS := \
 	-D_EGL_OS_UNIX=1
 
 LOCAL_SHARED_LIBRARIES := \
-	libglapi \
 	libdl \
 	libhardware \
 	liblog \
-- 
2.4.2



More information about the mesa-dev mailing list