commit | 0815ba23ffb0dcba51d77b9fbc3574361672adb8 | [log] [tgz] |
---|---|---|
author | Jiang Tian <ot_jiang.tian@mediatek.com> | Fri Dec 03 18:18:16 2021 +0800 |
committer | John Reck <jreck@google.com> | Wed Feb 09 14:57:43 2022 +0000 |
tree | 4b08238d213ab6c00135fa51d2adcccdf95f1a96 | |
parent | c9a39b306628d5e77b0904f127ae1354af2ea6be [diff] |
Fix full draw power usage increase issue Full draw will be happened on HWUI under 90/120Hz device,there are more draw commands under renderFrameImpl than in the 60Hz fps device, frame.bufferAge() > (int)mSwapHistory.size() resulting in an increase in power usage. So need to increase (int)mSwapHistory.size() to 8, set mSwapHistory add to 7. Bug: 209371516 Test: Manual Change-Id: Ic6f21e7b9dc5e7c8f36d03c57b01fa7210cff86f Merged-In: Ic6f21e7b9dc5e7c8f36d03c57b01fa7210cff86f