summaryrefslogtreecommitdiff
path: root/libs/renderengine/RenderEngine.cpp
diff options
context:
space:
mode:
author Adithya Srinivasan <adsrini@google.com> 2021-03-08 23:48:03 +0000
committer Adithya Srinivasan <adsrini@google.com> 2021-03-10 03:42:17 +0000
commit7c4ac7a31d3dc4a0cfec9d2f893c56307ee95185 (patch)
tree08ab98fbec443edb9dbe0f0331ce4a3853eb6cfd /libs/renderengine/RenderEngine.cpp
parent115ac691f66f87782de4089254c928f55d70bbc1 (diff)
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
Diffstat (limited to 'libs/renderengine/RenderEngine.cpp')
0 files changed, 0 insertions, 0 deletions