commit | e99b98ccbe273a4c664ff6cb07e74a25b163edcd | [log] [tgz] |
---|---|---|
author | Dominik Laskowski <domlaskowski@google.com> | Thu Feb 02 12:37:23 2023 -0500 |
committer | Dominik Laskowski <domlaskowski@google.com> | Tue Feb 21 11:33:40 2023 -0500 |
tree | c618cafad6c88e92378f773e4d3a8aaa220b6da4 | |
parent | 06e5db05b0fbb9c6852846f0844f2c1b42edba27 [diff] |
SF: Fix synthetic VSYNC after first powering on After onActiveDisplayChangedLocked, isActiveDisplay was stale, so the first powering on of a newly active display did not enable and resync to hardware VSYNC, i.e. EventThread stayed in SyntheticVsync. Also, merge EventThread APIs to enable/disable synthetic VSYNC. Fixes: 264700488 Bug: 255635821 Test: dumpsys SurfaceFlinger --events Change-Id: Ibd4099bb856adc11d887f3b7b9432fbc4cb2e33d