summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueue.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2019-04-10 11:27:54 -0700
committer Alec Mouri <alecmouri@google.com> 2019-04-10 11:33:11 -0700
commit7e3aa764499562f69e624e3e8240eab3707c7dda (patch)
tree8ffbca1f3c3e491439f4bf830b33e743c96a149f /libs/gui/BufferQueue.cpp
parentea17f7773050afd03f07e5251c71b23b8e2c33b5 (diff)
Fix early firing when adding event listeners
Prior to this, if e.g. SF was not registered at time T, and is registered at time T+8, with 16ms vsyncs and 0ms phase offsets, then it will wakeup immediately and skip the event at T+16 to prevent a double-rate event. With this change, the event will now correctly fire at T+16 instead of at T+8. Bug: 130251791 Test: atest google/perf/jank/UIBench/UIBench:com.android.uibench.janktests.UiBenchJankTests#testSlowNestedRecyclerViewInitialFling Change-Id: Icd72e87c43a54ef712622303ee0be4deabf6e176
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions