summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Jorim Jaggi <jjaggi@google.com> 2022-03-25 01:01:55 +0100
committer Jorim Jaggi <jjaggi@google.com> 2022-03-25 23:02:58 +0000
commit7e9b844f52b53ccbb58122f8905fa7897df08efe (patch)
treed232584ef337e77dbd87bbf525cc0a6e714f2986 /libs/input/PointerController.cpp
parent82100c9d36b7f3635b4535b182db383e9055714c (diff)
Fix overcounting after end in case of incomplete callbacks
The original intent of the code was to wait until we get one frame with end vsync id or beyond end vsync id with both HWUI and SF callbacks being reported such that we can ensure that our data collection is complete. However, the logic unintentionally started janky frames after the end in case there were callbacks missing on the end vsync id, leading to skewed metrics. Also expand unit tests to verify jank number results. Test: FrameTrackerTest Fixes: 223787365 Change-Id: I90948d9ab2d44bf805e78f5611e072a7cc9ae0cd
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions