commit | 53852a5c891ea82b85391eec145c2ac9c2aaed23 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Tue May 28 18:07:44 2019 -0700 |
committer | Ady Abraham <adyabr@google.com> | Wed May 29 11:09:36 2019 -0700 |
tree | 2fd975e397bfba014b5b7af575168e5d664b29f6 | |
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