From 5600d579b9b59bb9fab75f20d89ab0e447e85f00 Mon Sep 17 00:00:00 2001 From: John Reck Date: Wed, 1 Jul 2015 13:51:44 -0700 Subject: [PATCH] Set go-faster arguments Bug: 22208220 Increases performance of shadows by yet another 15% by using more aggressive math optimizations Change-Id: Ie3fabeae3647632a19ff573bf6b2d7f7a7cef555 --- libs/hwui/Android.common.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/hwui/Android.common.mk b/libs/hwui/Android.common.mk index 95905956fb786..38e8be9077204 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)