OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2d2486
)
libEGL: allow devices to workaround Google bug 10194508
author
Pawit Pornkitprasan
<p.pawit@gmail.com>
Sun, 3 Nov 2013 06:02:15 +0000
(23:02 -0700)
committer
Steve Kondik
<steve@cyngn.com>
Thu, 1 Sep 2016 06:33:23 +0000
(23:33 -0700)
Most older blobs don't have the EGL_KHR_gl_colorspace
extension and need this workaround.
Change-Id: Ifc5d097c1a0b68275d23c2d191976ac96631b695
opengl/libs/Android.mk
patch
|
blob
|
history
diff --git
a/opengl/libs/Android.mk
b/opengl/libs/Android.mk
index
a1d8bf0
..
c71ea72
100644
(file)
--- a/
opengl/libs/Android.mk
+++ b/
opengl/libs/Android.mk
@@
-48,6
+48,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