summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jiang Tian <ot_jiang.tian@mediatek.com> 2021-12-03 18:18:16 +0800
committer John Reck <jreck@google.com> 2022-02-09 14:57:43 +0000
commit0815ba23ffb0dcba51d77b9fbc3574361672adb8 (patch)
tree4b08238d213ab6c00135fa51d2adcccdf95f1a96 /libs/androidfw/StringPool.cpp
parentc9a39b306628d5e77b0904f127ae1354af2ea6be (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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions