mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-08 19:33:07 +00:00
667518dbf1
Previously, only PictureSync would allow us to retrieve a borrow to the underlying surface, but this is too restrictive. If we can take the Surface back by calling take_surface() in PictureReclaimableSurface, there is no reason not to be able to get a borrow to a Surface as well. This makes the calling code more ergonomic. BUG=b:214478588 TEST="cargo build --features=video-decoder,vaapi" successfully builds the libva crate Change-Id: I71f9f46e6bac6188c4c3862332c445c68028dbef Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3783006 Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> |
||
---|---|---|
.. | ||
ffmpeg | ||
libva | ||
libvda | ||
vp8 |