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
Loading
Please register or sign in to comment