summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Brian Lindahl <blindahl@google.com> 2023-06-15 14:19:43 -0600
committer Brian Lindahl <blindahl@google.com> 2023-06-15 20:38:55 +0000
commit5b0ffe096f8b825ea42ff61de501fadc1d8ca418 (patch)
tree0e1dbfd2b81eddd7f8a4a23411e3e960f0433e7d /services/surfaceflinger/RegionSamplingThread.cpp
parente618e229a115d7b246773bb3fb0bf4f20c47b0b3 (diff)
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 Change-Id: I928cef25e35cfc5337db4ceb8581bf5926b4fbe3
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions