diff options
| author | 2024-11-21 19:22:47 +0000 | |
|---|---|---|
| committer | 2024-12-10 23:59:40 +0000 | |
| commit | fd7f948e1a75304115a9857c7f262d01864bc1e1 (patch) | |
| tree | 735ceb4c45591ca5262884b94fda10565724539c /ravenwood/scripts/extract-last-soong-commands.py | |
| parent | 367616f2805821f75d2b63521db5080da363f9c9 (diff) | |
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: I68282826d13f2c38e484e94a0addd17355774960
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions