diff options
author | Steve Kondik <shade@chemlab.org> | 2011-10-29 09:02:20 +0400 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.cyanogenmod.com> | 2011-10-29 09:02:20 +0400 |
commit | c07c8c3241630dbcb059d20eae28a3a02b5ac20e (patch) | |
tree | 5001a3b551f19d3e48ceb8b79f55c2438a6eef35 | |
parent | 7fcd4b34165971b4b56acd94cec6fc2defb7d1d5 (diff) | |
parent | e4a16248b646b36f6e189cf431976f82831271b0 (diff) | |
download | android_external_skia-c07c8c3241630dbcb059d20eae28a3a02b5ac20e.tar.gz android_external_skia-c07c8c3241630dbcb059d20eae28a3a02b5ac20e.tar.bz2 android_external_skia-c07c8c3241630dbcb059d20eae28a3a02b5ac20e.zip |
Merge "Tweak cflags to utilize NEON optimizations" into gingerbread
-rw-r--r-- | Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk index fbdab09368..271c8d3e11 100644 --- a/Android.mk +++ b/Android.mk @@ -30,8 +30,11 @@ endif ifeq ($(ARCH_ARM_HAVE_NEON),true) LOCAL_CFLAGS += -D__ARM_HAVE_NEON + LOCAL_CFLAGS += -ftree-vectorize endif +LOCAL_CFLAGS += -O3 -ffast-math -fsingle-precision-constant + # special checks for alpha == 0 and alpha == 255 in S32A_Opaque_BlitRow32 # procedures (C and assembly) seriously improve skia performance ifeq "$(findstring tegra,$(TARGET_BOARD_PLATFORM))" "tegra" |