Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 32446b8a authored by Jiang Tian's avatar Jiang Tian Committed by chuanghua zhao
Browse files

Fix full draw power usage increase issue

Full draw will be happened on HWUI under 144Hz device,there are
more draw commands under renderFrameImpl than in the 120Hz fps device,
frame.bufferAge() > (int)mSwapHistory.size() resulting in an increase
in power usage.

So need to increase (int)mSwapHistory.size() to 8.

Bug: 397592669
Test: Manual
1.Use the 144Hz device
2.Grab Settings Systrace of the sliding scene
3.Collect the Systrace, and check the drawing dirty area
is the screen area of the entire device

Change-Id: I477d37828f080e64cded9f285c58b7b27cbe6b03
parent 55b9f102
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment