summaryrefslogtreecommitdiffstats
path: root/target/board/generic
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2011-12-01 11:45:49 -0800
committerJesse Hall <jessehall@google.com>2011-12-12 10:07:04 -0800
commit615d2ffa926d03ba44fbc58b4593ce96ef831783 (patch)
treea1845b7773d7b2212bc46e85fb6f9f68a917c00e /target/board/generic
parent917895384fb7c9fb9ca858fdf792ec165e151de9 (diff)
downloadbuild-615d2ffa926d03ba44fbc58b4593ce96ef831783.zip
build-615d2ffa926d03ba44fbc58b4593ce96ef831783.tar.gz
build-615d2ffa926d03ba44fbc58b4593ce96ef831783.tar.bz2
Enable the OpenGL View renderer on the emulator
If the emulator is run without GL acceleration enabled, the OpenGL renderer will disable itself at runtime. Change-Id: Ie40c7895120f51bb6a817c2f3cf7fab0a3dda292
Diffstat (limited to 'target/board/generic')
-rw-r--r--target/board/generic/BoardConfig.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/board/generic/BoardConfig.mk b/target/board/generic/BoardConfig.mk
index 229ea9c..57e60d3 100644
--- a/target/board/generic/BoardConfig.mk
+++ b/target/board/generic/BoardConfig.mk
@@ -39,3 +39,7 @@ endif
# Build OpenGLES emulation guest and host libraries
BUILD_EMULATOR_OPENGL := true
+
+# Build and enable the OpenGL ES View renderer. When running on the emulator,
+# the GLES renderer disables itself if host GL acceleration isn't available.
+USE_OPENGL_RENDERER := true