summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2019-02-22 13:55:34 -0800
committer Alec Mouri <alecmouri@google.com> 2019-03-07 15:16:10 -0800
commitbb4e3baf6616da062c9a23694f13429eea39666d (patch)
treef022217849e1bf9338e02acac49f59e362c73b74 /libs/gui/BufferQueueThreadState.cpp
parent066bd7e0e68e79bbca5d0b350ff08b8ae99aa7c9 (diff)
Fix up reference times for period changes.
* When the model is reset, use the last seen reference time instead of 0, since the reference time of 0 is guaranteed to yield inaccurate pulses. * When the DispSync model is updated, reduce the reference time by a period to derisk spurious events firing when the model is updated. Bug: 124383894 Test: systrace Change-Id: Idb7fd5a9bacdd78133ab6451b5a79789a32e339e
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions