commit | 9953e060ba211798cd5efe04afb1bcf4ef5b600a | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Wed Jul 24 22:56:22 2024 -0700 |
committer | Ady Abraham <adyabr@google.com> | Thu Jul 25 16:11:39 2024 -0700 |
tree | f328b202a8c5a77d1d65647562309c118cc8811f | |
parent | ed1283a514bae8b2a7c289b994206bb7a9d5c847 [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