commit | 633f9598ffbaa0aa8a164a5d5fea71813866cd83 | [log] [tgz] |
---|---|---|
author | Midas Chien <midaschieh@google.com> | Fri Nov 10 14:10:44 2023 +0000 |
committer | Midas Chien <midaschieh@google.com> | Tue Nov 14 07:54:59 2023 +0000 |
tree | ceb4e0e8959f6ce1995f123c7914224c29465c5a | |
parent | 40d0affedac4446a6db627846ab0f1585ba9460f [diff] |
libhwc2.1: use vsync period to calculate expected vsync When encountering an error from drmWaitVBlank, we should attempt to calculate the expected vsync timestamp using the vsync period, rather than the refresh rate. Bug: 308095238 Test: fps switch, AoD in/out, On/Off Change-Id: Ic0cc4d777727b009d2b6c2d4d4cee91f2a9ef0a5