mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-08 19:33:07 +00:00
5f01cee736
libva Displays and Contexts are only useful if they are reference-counted, and all callers of `create_context` immediately wraps the result into a Rc. Make `create_context` return a `Rc` directly to make sure we cannot end up with stray objects. BUG=b:214478588 TEST=cargo test --features vaapi -p cros-codecs TEST=cargo test --features "video-decoder,vaapi" -p devices Change-Id: I04c90059df71ea8a09a1fa937d731e1f4a5c27fc Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3932441 Auto-Submit: Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |