diff options
author | 2020-12-28 16:48:48 -0800 | |
---|---|---|
committer | 2020-12-29 18:46:01 +0000 | |
commit | 56b42a4539ec2b0e8f8c1d8c018beb61301c3195 (patch) | |
tree | e35f2c0db4a48e650c7d7dbceb6a38373db9df56 /services/surfaceflinger/RegionSamplingThread.cpp | |
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
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions