summaryrefslogtreecommitdiffstats
path: root/opengl/libagl
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-05-28 17:39:03 -0700
committerMathias Agopian <mathias@google.com>2009-05-28 20:31:40 -0700
commit9d17c057bdb9da5fa991a2c3efebe453106ca0a7 (patch)
tree13c7d86fc365a810213910f2ccf62967db55831b /opengl/libagl
parente9d7445acea438b731273ac91114426bf1e5056c (diff)
downloadframeworks_base-9d17c057bdb9da5fa991a2c3efebe453106ca0a7.zip
frameworks_base-9d17c057bdb9da5fa991a2c3efebe453106ca0a7.tar.gz
frameworks_base-9d17c057bdb9da5fa991a2c3efebe453106ca0a7.tar.bz2
implement a real loader for EGL drivers
we now look for a config file in /system/lib/egl/egl.cfg that describes the association of a display to a driver. these drivers are named: /system/lib/egl/lib{[EGL|GLESv1_CM|GLESv2] | GLES}_$TAG.so
Diffstat (limited to 'opengl/libagl')
-rw-r--r--opengl/libagl/Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/opengl/libagl/Android.mk b/opengl/libagl/Android.mk
index 946e849..060f3c6 100644
--- a/opengl/libagl/Android.mk
+++ b/opengl/libagl/Android.mk
@@ -47,6 +47,8 @@ LOCAL_SHARED_LIBRARIES := libcutils libhardware libutils libpixelflinger
LOCAL_CFLAGS += -fvisibility=hidden
LOCAL_LDLIBS := -lpthread -ldl
-LOCAL_MODULE:= libagl
+
+LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/egl
+LOCAL_MODULE:= libGLES_android
include $(BUILD_SHARED_LIBRARY)