summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--n7000.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/n7000.mk b/n7000.mk
index e4dfb5a..5791fa3 100644
--- a/n7000.mk
+++ b/n7000.mk
@@ -40,6 +40,16 @@ PRODUCT_PACKAGES += libstlport
PRODUCT_PACKAGES += \
sensors.smdk4210
+# - With ro.libagl=1, libagl is always used
+# - With ro.libagl=0, LLVMpipe is used by default but it's possible to override
+# that and use libagl for specific binaries by creating empty configuration
+# files in /system/etc/libGLES_android/ with the binary paths paths.
+# For instance to make SurfaceFlinger use libagl you can run this command:
+# # touch /system/etc/libGLES_android/system/bin/surfaceflinger
+# When launching that binary, the EGL loader will then check if that file
+# exists to decide on which OpenGL implementation to use.
+PRODUCT_PROPERTY_OVERRIDES += ro.libagl=0
+
# Keylayout
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/usr/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \