Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 367e6483 authored by Steven Luo's avatar Steven Luo
Browse files

Add half-resolution boot animations for low-end devices

On low-end devices, the current 48 fps boot animation can use more than
50% of CPU time, and if the texture cache is enabled, a majority of main
memory as well.  For these devices, add half-resolution variants of the
lower-resolution boot animations which display 2x upscaled -- this
greatly speeds the boot process and makes the boot animation run more
smoothly.

Change-Id: I0140616ca38c52a06dd4622f1c20a9ca0da95f4b
parent ac948f53
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -29,8 +29,12 @@ $(eval TARGET_BOOTANIMATION_NAME := $(shell \
endef
$(foreach size,$(bootanimation_sizes), $(call check_and_set_bootanimation,$(size)))

ifeq ($(TARGET_BOOTANIMATION_HALF_RES),true)
PRODUCT_BOOTANIMATION := vendor/cm/prebuilt/common/bootanimation/halfres/$(TARGET_BOOTANIMATION_NAME).zip
else
PRODUCT_BOOTANIMATION := vendor/cm/prebuilt/common/bootanimation/$(TARGET_BOOTANIMATION_NAME).zip
endif
endif

ifdef CM_NIGHTLY
PRODUCT_PROPERTY_OVERRIDES += \
+341 KiB

File added.

No diff preview for this file type.

+495 KiB

File added.

No diff preview for this file type.

+570 KiB

File added.

No diff preview for this file type.

+798 KiB

File added.

No diff preview for this file type.

Loading