diff options
author | Pawit Pornkitprasan <p.pawit@gmail.com> | 2013-11-02 23:02:15 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-10-16 14:45:10 -0700 |
commit | ff59fbd8198f72fc251677cce4b4d9379318e921 (patch) | |
tree | cb872b7cdb7fe589c214775d77a7153d8a08a2cb /opengl | |
parent | fd1fb639a1dd9325a9bebb0cd3ca6ebd7d48931d (diff) | |
download | frameworks_native-ff59fbd8198f72fc251677cce4b4d9379318e921.zip frameworks_native-ff59fbd8198f72fc251677cce4b4d9379318e921.tar.gz frameworks_native-ff59fbd8198f72fc251677cce4b4d9379318e921.tar.bz2 |
libEGL: allow devices to workaround Google bug 10194508
Most older blobs don't have the EGL_KHR_gl_colorspace
extension and need this workaround.
Change-Id: Ifc5d097c1a0b68275d23c2d191976ac96631b695
Diffstat (limited to 'opengl')
-rw-r--r-- | opengl/libs/Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/opengl/libs/Android.mk b/opengl/libs/Android.mk index 661b99c..e952a38 100644 --- a/opengl/libs/Android.mk +++ b/opengl/libs/Android.mk @@ -50,6 +50,9 @@ endif ifeq ($(TARGET_BOARD_PLATFORM), omap4) LOCAL_CFLAGS += -DWORKAROUND_BUG_10194508=1 endif +ifeq ($(BOARD_EGL_WORKAROUND_BUG_10194508),true) + LOCAL_CFLAGS += -DWORKAROUND_BUG_10194508=1 +endif ifneq ($(MAX_EGL_CACHE_ENTRY_SIZE),) LOCAL_CFLAGS += -DMAX_EGL_CACHE_ENTRY_SIZE=$(MAX_EGL_CACHE_ENTRY_SIZE) endif |