media: Allow wrapping VideoFrame backed by texture and GpuMemoryBuffer
This CL allows us to soft-apply cropping and scaling on opaque buffer handles. The wrapping frame retains no resource regarding the opaque buffer handles and acts simply as a decorator to expose different visible rectangle and natural size. Any operation involving the opaque buffer handles are relayed to the wrapped frame. Bug: 982201 Change-Id: If51308c92adeb33d60627386545cadfe1f17edcd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1830243 Commit-Queue: Ricky Liang <jcliang@chromium.org> Reviewed-by:Dan Sanders <sandersd@chromium.org> Cr-Commit-Position: refs/heads/master@{#701490}
Showing
Please register or sign in to comment