mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-08 19:33:07 +00:00
SurfaceContainer was implemented for each codec type, but it can be simplified into a single generic implementation if move the RefCell out of InnerHandle. Since SurfaceContainer's purpose is just to convert one object into a Surface, rename it into the more idiomatic IntoSurface that just requires TryInto<Option<Surface>>. BUG=b:214478588 TEST=cargo test --features vaapi -p cros-codecs TEST=`cros-codecs --include-ignored` passes on hatch. Change-Id: I00a56132ceaeab5d305e144976a9ea597355bbf8 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3998374 Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> |
||
---|---|---|
.. | ||
cros-codecs | ||
ffmpeg | ||
libva | ||
libvda |