diff options
| author | 2020-05-15 11:51:48 -0700 | |
|---|---|---|
| committer | 2020-05-18 17:49:01 +0000 | |
| commit | 1adbb727595c6da51bb088e4ce3f8070d9b32808 (patch) | |
| tree | 2a5f8537eb0c30baea946cface0caebca8bec9e1 /libs/gui/SurfaceControl.cpp | |
| parent | b209e7b56b6597d425765d8421184f5ac77d5ae1 (diff) | |
SurfaceFlinger: more aggressive infrequent layer detection
Change the algorithm that chooses the refresh rate to treat layers as
infrequent unless proven otherwise. This change helps with multiple
switches during scenarios of blinking cursor where the detection of
infrequent layer is too long. The down side on this change is that
animations will be considered infrequent as well for the first few frames.
However the touch boost is a good mitigation of this.
Test: Typing in Messages and observe refresh rate
Test: Settings->About->up time and observe refresh rate
Bug: 155062712
Bug: 156654519
Change-Id: I317c69bd063df5d70f2d5705163cf61c1c9b1fff
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions