Force HALs to explicitly enable legacy method for clearing buffer caches
Some HAL implementations can't support setLayerBuffer multiple times to clear the per-layer buffer caches. Therefore, default this behavior to disabled, and allow HALs to explcitily enable this behavior to obtain the necessary memory savings. Test: play videos with both true and false on both HIDL and AIDL Bug: 285561686 Ignore-AOSP-First: Submitted in separate changeset to AOSP Change-Id: If3a4f31ee0de179915e7b33c1fdb145d44658fd9
This commit is contained in:
parent
ae8817dc1e
commit
4fa55dce1f
1 changed files with 1 additions and 0 deletions
|
@ -1324,6 +1324,7 @@ ro.surface_flinger.enable_layer_caching u:object_r:surfaceflin
|
|||
ro.surface_flinger.display_update_imminent_timeout_ms u:object_r:surfaceflinger_prop:s0 exact int
|
||||
ro.surface_flinger.uclamp.min u:object_r:surfaceflinger_prop:s0 exact int
|
||||
ro.surface_flinger.ignore_hdr_camera_layers u:object_r:surfaceflinger_prop:s0 exact bool
|
||||
ro.surface_flinger.clear_slots_with_set_layer_buffer u:object_r:surfaceflinger_prop:s0 exact bool
|
||||
|
||||
ro.sf.disable_triple_buffer u:object_r:surfaceflinger_prop:s0 exact bool
|
||||
ro.sf.lcd_density u:object_r:surfaceflinger_prop:s0 exact int
|
||||
|
|
Loading…
Reference in a new issue