From 73eba3748d06449a22c82c30c3e140b3bd65aae8 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 20 May 2012 17:39:25 +0300 Subject: [PATCH] fix gpu performance regression (flags only, depends on a frameworks_base commit) --- BoardConfig.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BoardConfig.mk b/BoardConfig.mk index 7359c9f..6d2ccb8 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -100,6 +100,10 @@ TARGET_USES_C2D_COMPOSITION := false # Allow fallback to ashmem TARGET_GRALLOC_USES_ASHMEM := true +# fix gpu performance regression +BOARD_ADRENO_DECIDE_TEXTURE_TARGET := true +COMMON_GLOBAL_CFLAGS += -DDECIDE_TEXTURE_TARGET + COMMON_GLOBAL_CFLAGS += -DEGL_TRACE BOARD_USES_QCOM_LIBS := true