commit | 56b42a4539ec2b0e8f8c1d8c018beb61301c3195 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Mon Dec 28 16:48:48 2020 -0800 |
committer | Ady Abraham <adyabr@google.com> | Tue Dec 29 18:46:01 2020 +0000 |
tree | e35f2c0db4a48e650c7d7dbceb6a38373db9df56 | |
parent | 62a0be2a63b2026ec9e7e9e23289c6f380ff85b5 [diff] |
SurfaceFlinger: fix reference time for transactions Sometimes the reference time used when applying the transaction is incorrect as the expected present time calculated in the past is just before the real vsync. This fix is adding half vsync period to the previous expected present time to avoid this. Bug: 170502573 Test: atest FrameRateOverrideHostTest Change-Id: Ib90238810a2f6a82e04a4375ea347f8e05425775