summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2019-03-18 18:53:42 -0700
committer Alec Mouri <alecmouri@google.com> 2019-04-09 14:03:35 -0700
commit754c98a56f3f9a2e461a2288705d485e132a8abf (patch)
treece0a8b71d31f89cf1be142b1462f77683d55349f /libs/gui/ConsumerBase.cpp
parent381ac014109fcaed943a47395a65df64a01ea062 (diff)
Add pending period to DispSync.
When the period is updated due to a config change, cache the period and don't immediately update the model until we actually observe updated vsyncs from the hardware. To make this more reliable, force hardware vsync to be enabled when we first initiate a refresh rate change. Also, override offsets with custom offsets while the period is in flux, so that we don't fall into bad offsets when ramping up to 90hz Bug: 128848865 Bug: 128860504 Test: systrace Change-Id: I6aa87ad29b3effce9067a1d54d444023c7362b22
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions