summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2015-07-01 13:51:44 -0700
committerJohn Reck <jreck@google.com>2015-07-01 13:51:44 -0700
commit5600d579b9b59bb9fab75f20d89ab0e447e85f00 (patch)
treec55b6c44e1ed86726fda597c20a69e2560dbfdce /libs
parente3fc5415ed65ee7ad451069022b5405361aeb2e7 (diff)
downloadframeworks_base-5600d579b9b59bb9fab75f20d89ab0e447e85f00.zip
frameworks_base-5600d579b9b59bb9fab75f20d89ab0e447e85f00.tar.gz
frameworks_base-5600d579b9b59bb9fab75f20d89ab0e447e85f00.tar.bz2
Set go-faster arguments
Bug: 22208220 Increases performance of shadows by yet another 15% by using more aggressive math optimizations Change-Id: Ie3fabeae3647632a19ff573bf6b2d7f7a7cef555
Diffstat (limited to 'libs')
-rw-r--r--libs/hwui/Android.common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/Android.common.mk b/libs/hwui/Android.common.mk
index 9590595..38e8be9 100644
--- a/libs/hwui/Android.common.mk
+++ b/libs/hwui/Android.common.mk
@@ -119,6 +119,7 @@ endif
# Defaults for ATRACE_TAG and LOG_TAG for libhwui
LOCAL_CFLAGS += -DATRACE_TAG=ATRACE_TAG_VIEW -DLOG_TAG=\"OpenGLRenderer\"
LOCAL_CFLAGS += -Wall -Wno-unused-parameter -Wunreachable-code
+LOCAL_CFLAGS += -ffast-math -O3
# b/21698669
ifneq ($(USE_CLANG_PLATFORM_BUILD),true)