diff options
author | Chia-I Wu <[email protected]> | 2011-08-19 17:11:34 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2011-08-28 21:56:23 +0800 |
commit | 099faeef33a2207731986f02b1fd897d91c764c4 (patch) | |
tree | 3cd1db7242cd91328239a8878ebd61052961a577 /src/egl/main | |
parent | 9779f6f5c143506d71420d78bb51b2fa7c995378 (diff) |
android: add support for egl_dri2
Add rules to build egl_dri2 and make it a built-in EGL driver of
libGLES_mesa.
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/egl/main')
-rw-r--r-- | src/egl/main/Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/egl/main/Android.mk b/src/egl/main/Android.mk index 25a7c657676..a2933d7abfd 100644 --- a/src/egl/main/Android.mk +++ b/src/egl/main/Android.mk @@ -54,6 +54,9 @@ LOCAL_CFLAGS := \ -D_EGL_DRIVER_SEARCH_DIR=\"/system/lib/egl\" \ -D_EGL_OS_UNIX=1 +ifeq ($(strip $(MESA_BUILD_CLASSIC)),true) +LOCAL_CFLAGS += -D_EGL_BUILT_IN_DRIVER_DRI2 +endif ifeq ($(strip $(MESA_BUILD_GALLIUM)),true) LOCAL_CFLAGS += -D_EGL_BUILT_IN_DRIVER_GALLIUM endif |