summaryrefslogtreecommitdiff
path: root/libs/gui/VsyncEventData.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2023-02-14 10:55:43 -0800
committer Ady Abraham <adyabr@google.com> 2023-02-15 21:46:38 +0000
commit894a6d48c1c6c5cd12074b0ef2f7b1bde01db5c5 (patch)
treecb266ec9bbeb1f7fdd3fe5bd97eb0a08aff74a42 /libs/gui/VsyncEventData.cpp
parentf34a813b3241efe96cfd1ac228ef29f406845062 (diff)
SF: pass a render rate to VsyncTracker instead of a divisor
passing a divisor to VsyncTracker might result in the wrong frame rate when the vsync period is changing. The Divisor was calculated in VsyncReactor which calculates it based on the new period, and passed to VsyncTracker which might still be learning the new period, hence using the old period. Bug: 267780202 Test: SF unit tests Change-Id: Ibb632d4ae6621a6ac0c0123e78f4c4d75699bd9e
Diffstat (limited to 'libs/gui/VsyncEventData.cpp')
0 files changed, 0 insertions, 0 deletions