summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2024-07-24 22:56:22 -0700
committer Ady Abraham <adyabr@google.com> 2024-07-25 16:11:39 -0700
commit9953e060ba211798cd5efe04afb1bcf4ef5b600a (patch)
treef328b202a8c5a77d1d65647562309c118cc8811f /libs/gui/ConsumerBase.cpp
parented1283a514bae8b2a7c289b994206bb7a9d5c847 (diff)
SF: add a work duration slack when missing a frame
When missing a frame, SF usually ends up waiting 1ms for the previous fence to fire. This causes sometimes skipping the next frame as the work duration with the 1ms pushes the vsync one more frame. Bug: 354007767 Flag: com.android.graphics.surfaceflinger.flags.allow_n_vsyncs_in_targeter Test: SF unit tests Change-Id: Ia4e2791c420c17bcbe123bd61cc569695702a40c
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions