config: disabling hwc composition strategy on perf anim targets
perfetto shows a lot of wasted time done on hwc composition strategy on mtk targets Change-Id: I88c810c954ae689f5ecd5c8f03e5130c356ae631 Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.com>
This commit is contained in:
@@ -80,12 +80,20 @@ else
|
||||
-include vendor/evolution-priv/keys/keys.mk
|
||||
endif
|
||||
|
||||
# PERF_ANIM_OVERRIDE
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.sys.activity_anim_perf_override=$(PERF_ANIM_OVERRIDE)
|
||||
|
||||
ifeq ($(PERF_ANIM_OVERRIDE),true)
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
debug.sf.predict_hwc_composition_strategy=0
|
||||
endif
|
||||
|
||||
# Other ROM feature flags
|
||||
BYPASS_CHARGE_SUPPORTED ?= false
|
||||
PERF_ANIM_OVERRIDE ?= false
|
||||
TORCH_STR_SUPPORTED ?= true
|
||||
|
||||
PRODUCT_SYSTEM_PROPERTIES += \
|
||||
persist.sys.activity_anim_perf_override=$(PERF_ANIM_OVERRIDE)
|
||||
persist.sys.battery_bypass_supported=$(BYPASS_CHARGE_SUPPORTED) \
|
||||
persist.sys.torch_str_support=$(TORCH_STR_SUPPORTED)
|
||||
|
||||
Reference in New Issue
Block a user