mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
d9f640c59d
When VDA requests crosvm to allocate N output buffers, crosvm will request the userspace to allocate N+1 output buffers. Then crosvm keeps one output buffer for notifying EOS. Originally, after the preserved buffer is dequeued to notify EOS, crosvm might keep another output buffer for next EOS. If so, then crosvm will register all the N+1 buffers to VDA. This CL changes to fix the preserved buffer until VDA requests another set of output buffers. Also, it introduces another variable to track the resource ids of queued buffers. BUG=b:168557465 TEST=pass android.media.cts.AdaptivePlaybackTest#testVP8_eosFlushSeek with related CLs Change-Id: I8a6018f9e889dc6a2b6ef67d4915d6202858a42a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2404512 Tested-by: Chih-Yu Huang <akahuang@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Auto-Submit: Chih-Yu Huang <akahuang@chromium.org> Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Chih-Yu Huang <akahuang@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |