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

Skip to content
Commit 7c4ac7a3 authored by Adithya Srinivasan's avatar Adithya Srinivasan
Browse files

Consider invalid present fence time in FrameTimeline

Virtual devices could send the present fence signal time as
SIGNAL_TIME_INVALID (-1) due to the present fence is unreliable
property. The current behavior silently drops the DisplayFrame along
with its SurfaceFrames. These SurfaceFrames could have been added to
pending jank list which require the present time to be set.

Aside from virtual devices, there also seems to be a very rare
occurrence of invalid signal time in physical devices. The repro rate is
very very low but happens around phone locking and unlocking after a
large interval. This could be tied to lifecycle of fences but its better
we address invalid signal times to solve this too.

Bug: 182006762
Test: libsurfaceflinger_unittest
Change-Id: I3a501dd070e86a2cd719a9251c22ab9cba38c16b
parent 115ac691
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