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

Skip to content
Commit e59a4df8 authored by Melody Hsu's avatar Melody Hsu
Browse files

Buffer stuffing recovery when blocked on dequeueBuffer

Detect when the client is blocked waiting on buffer release
and only recover from buffer stuffing then. This is a more
conservative measure for recovery that will prevent the
client from being maximally buffer stuffed. This still provides
some "padding" to prevent from additional app janks that
can be exposed if we recover from buffer stuffing too
aggressively. Recover by delaying 1 frame and adding animation
offsets.

Bug: b/294922229
Test: presubmit, manually check perfetto traces
Flag: android.view.flags.buffer_stuffing_recovery
Change-Id: I24e34591e809aebd7626657c6340faed323227ad
parent a9464874
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