summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2019-07-16 13:20:19 -0700
committer Ana Krulec <akrulec@google.com> 2019-09-04 13:54:42 -0700
commite6ad1602402611b74d11144270602f9844f8fcb6 (patch)
treeb29bb8196d1f5be29a86306f552d14611e80e886 /libs/gui/BufferQueueThreadState.cpp
parent3a123024a12552f8c6353519114b87d833fa6447 (diff)
[SurfaceFlinger] Exclude first vsync duration from period calculation
Some displays don't exit from idle state immediately when vsync is enabled through the kernel idle timer, so exclude the first vsync period instead of just the first sample. Bug: 136197211 Test: Scrolling through settings Change-Id: I899fec289c8b08cfaa3264f7f6291a6fac489ab8 (cherry picked from commit 94390a32e24ac0f9286e11efd9ae5232ac3b9ac3) Merged-In: I899fec289c8b08cfaa3264f7f6291a6fac489ab8
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions