Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steven676/7287471 to your computer and use it in GitHub Desktop.
Save steven676/7287471 to your computer and use it in GitHub Desktop.
[PATCH 3/6] libEGL: also work around Google bug 10194508 on S5PC110 (against android-4.4_r1.2 frameworks/native)
From b1633e8641282bc3896d92596775b6cfa4066d7e Mon Sep 17 00:00:00 2001
From: Steven Luo <steven+android@steven676.net>
Date: Sat, 2 Nov 2013 23:02:15 -0700
Subject: [PATCH 3/4] libEGL: also work around Google bug 10194508 on S5PC110
S5PC110, like OMAP4, has a PowerVR SGX540 GPU and suffers from this bug.
Change-Id: Ifc5d097c1a0b68275d23c2d191976ac96631b695
---
opengl/libs/Android.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/opengl/libs/Android.mk b/opengl/libs/Android.mk
index 528b983..43ef27f 100644
--- a/opengl/libs/Android.mk
+++ b/opengl/libs/Android.mk
@@ -51,6 +51,9 @@ endif
ifeq ($(TARGET_BOARD_PLATFORM), omap4)
LOCAL_CFLAGS += -DWORKAROUND_BUG_10194508=1
endif
+ifeq ($(TARGET_BOARD_PLATFORM), s5pc110)
+ 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
--
1.7.10.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment