diff options
| author | 2019-05-28 18:07:44 -0700 | |
|---|---|---|
| committer | 2019-05-29 11:09:36 -0700 | |
| commit | 53852a5c891ea82b85391eec145c2ac9c2aaed23 (patch) | |
| tree | 2fd975e397bfba014b5b7af575168e5d664b29f6 /libs/gui/SurfaceControl.cpp | |
| parent | 2eeb9c63869b295e444604d7c5470ce6be3744a0 (diff) | |
SurfaceFlinger: set refresh rate type when after an attempt to switch
When a refresh rate change is starting we change the offsets to the
new refresh rate to have a better alignment between buffers and the actual
vsync. This change guarantees that we set the correct offset by updating
PhaseOffset after desired config changed.
Test: Let device go to 60Hz due to idle; Open an app; Get systrace; repeat
Bug: 133241520
Change-Id: Id25f5e7d3d280813a106fd311906767d79e4e6ee
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions