summaryrefslogtreecommitdiffstats
path: root/cmds/bootanimation/Android.mk
diff options
context:
space:
mode:
authorPrashant Somashekar <prashsomash@gmail.com>2013-02-16 16:47:44 -0500
committerSteve Kondik <steve@cyngn.com>2015-10-26 16:09:10 -0700
commitf3d1bbb77f9f3dbe065d713721e0591ea3fa348f (patch)
treeeedb534219d45eff0dfec42c93d67fa8271ecf4a /cmds/bootanimation/Android.mk
parentb2ac9d7f1d33aa795f6c3827b120f7591678ab3b (diff)
downloadframeworks_base-f3d1bbb77f9f3dbe065d713721e0591ea3fa348f.zip
frameworks_base-f3d1bbb77f9f3dbe065d713721e0591ea3fa348f.tar.gz
frameworks_base-f3d1bbb77f9f3dbe065d713721e0591ea3fa348f.tar.bz2
bootanimation: performance/speedup enhancements (squashed from CM11)
bootanim: Don't cache textures if they're expected to use a lot of VRAM (rmcc) https://github.com/CyanogenMod/android_frameworks_base/commit/14f9eecd3f543a25c4a2053d6155a9396a777a3a#cmds/bootanimation bootanimation: performance enhancements (turl) https://github.com/CyanogenMod/android_frameworks_base/commit/e6b54405aa70d7503a114d9c90ef7518abdd7133#cmds/bootanimation bootanimation: fix usage of LOGW (intervigilium) https://github.com/CyanogenMod/android_frameworks_base/commit/e45cf7d232490f44aecf8f2447220a8b5ace4c10#cmds/bootanimation bootanimation: allow using RGB565 instead of ARGB8888 (tpruvot) https://github.com/CyanogenMod/android_frameworks_base/commit/204282870a9c69b04ad5ddecd73fafbd7996cbc0#cmds/bootanimation [mikeioannina]: Adjust for cm-12.0 Change-Id: I203fa23f77d1349fb822a7662e2cd3998ba4c814
Diffstat (limited to 'cmds/bootanimation/Android.mk')
-rw-r--r--cmds/bootanimation/Android.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/cmds/bootanimation/Android.mk b/cmds/bootanimation/Android.mk
index a2d5675..0c05ded 100644
--- a/cmds/bootanimation/Android.mk
+++ b/cmds/bootanimation/Android.mk
@@ -30,6 +30,22 @@ ifeq ($(TARGET_CONTINUOUS_SPLASH_ENABLED),true)
LOCAL_CFLAGS += -DCONTINUOUS_SPLASH
endif
+ifeq ($(TARGET_BOOTANIMATION_PRELOAD),true)
+ LOCAL_CFLAGS += -DPRELOAD_BOOTANIMATION
+endif
+
+ifeq ($(TARGET_BOOTANIMATION_TEXTURE_CACHE),true)
+ LOCAL_CFLAGS += -DNO_TEXTURE_CACHE=0
+endif
+
+ifeq ($(TARGET_BOOTANIMATION_TEXTURE_CACHE),false)
+ LOCAL_CFLAGS += -DNO_TEXTURE_CACHE=1
+endif
+
+ifeq ($(TARGET_BOOTANIMATION_USE_RGB565),true)
+ LOCAL_CFLAGS += -DUSE_565
+endif
+
LOCAL_MODULE:= bootanimation
ifdef TARGET_32_BIT_SURFACEFLINGER