commit | cd8994f492cfc789d7609d3e199099528f73ba78 | [log] [tgz] |
---|---|---|
author | Jiang Tian <ot_jiang.tian@mediatek.com> | Fri Dec 03 18:18:16 2021 +0800 |
committer | John Reck <jreck@google.com> | Tue Feb 08 09:36:54 2022 -0500 |
tree | d2fb5b9a04c7a7ab7720258293df0b0c3844cfd6 | |
parent | 8b60c74500ae383ba3b0d2f853df83efd2303a45 [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