summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Su Hong Koo <sukoo@google.com> 2025-02-06 14:27:05 -0500
committer Su Hong Koo <sukoo@google.com> 2025-02-11 15:44:06 -0500
commite67937fe03f3a8d13a4257d719a7a5d3ebe309a1 (patch)
treee816f58bf9b25946ecffa16efb16149bc1eae12e /libs/gui/LayerState.cpp
parentff045163332fd4e5b23f041049ea90c56fabb838 (diff)
SF: Feed presentation fences to external displays' vsync predictors
Currently, the presentation fences from hardware composer are only fed to vsync predictors for internal displays. Since presentation fence signal times are used to keep the prediction model fresh, external displays without fence timings become significantly less accurate after some time (seconds). The drift in the external displays’ vsync prediction results in inaccurate expectation presentation times being fed across SurfaceFlinger, and may result in inaccurate metrics/traces. This CL changes the qualification for feeding presentation fences to vsync schedules from is internal to is physical display, which is implicit. Refer to the bug for traces and more detail. Flag: EXEMPT bugfix Bug: 394879543 Test: manual testing and verification using frame timeline/tracing Change-Id: I69321c6eb0682adb5763c7281d376055d59de8fd
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions