commit | 5b0ffe096f8b825ea42ff61de501fadc1d8ca418 | [log] [tgz] |
---|---|---|
author | Brian Lindahl <blindahl@google.com> | Thu Jun 15 14:19:43 2023 -0600 |
committer | Brian Lindahl <blindahl@google.com> | Thu Jun 15 20:38:55 2023 +0000 |
tree | 0e1dbfd2b81eddd7f8a4a23411e3e960f0433e7d | |
parent | e618e229a115d7b246773bb3fb0bf4f20c47b0b3 [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