Skip to content
Commit 0815ba23 authored by Jiang Tian's avatar Jiang Tian Committed by John Reck
Browse files

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
parent c9a39b30
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment