Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e67937fe authored by Su Hong Koo's avatar Su Hong Koo
Browse files

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
parent ff045163
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment