summaryrefslogtreecommitdiff
path: root/libs/gui/QueueBufferInputOutput.cpp
diff options
context:
space:
mode:
author Kevin DuBois <kevindubois@google.com> 2020-01-09 14:12:02 -0800
committer Kevin DuBois <kevindubois@google.com> 2020-01-10 11:43:57 -0800
commitc4cdd3784119d40532fe4b6213652b3f7438e675 (patch)
tree36a7ec605e761608b9a0c7b7bb1c1e5a87ffa717 /libs/gui/QueueBufferInputOutput.cpp
parent842e9df6fca52d486e1a593c350b33c9d3d71760 (diff)
SF: VSyncReactor ensure period change confirmation
(Code being corrected is flagged off, no production problems) When a period change is happening, system turns on hwvsync and uses the first vsync signal timed at the new vsync rate as confirmation that the rate has indeed changed (and then things like modifying the offsets occurs). If a presentation fence was added to the VSyncReactor system before the first hwvsync sample arrived, this would result in the period never being confirmed, and would result in incorrect offsets and period estimations, resulting in bad jank scores. Test: 3 unit tests Test: uibench run Fixes: 147321414 Change-Id: Idbc87529e60333df5180de585dbba3525396562b
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions