[webcodecs] Support VideoFrame.createImageBitmap() in workers
Creation of ImageBitmaps from VideoFrames is implemented using a viz::RasterContextProvider in //media. Such a thing is available from Platform on the main thread, but not in workers. This CL exposes the underlying viz::RasterContextProvider from WebGraphicsContext3DProvider so that the //media code can be called using the SharedGpuContext context. Bug: 1148849 Change-Id: Ie69e84e423f7e6f4aca13b7b86bcf178b3e15958 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2570331 Commit-Queue: Dan Sanders <sandersd@chromium.org> Reviewed-by:Kenneth Russell <kbr@chromium.org> Reviewed-by:
Chrome Cunningham <chcunningham@chromium.org> Cr-Commit-Position: refs/heads/master@{#833949}
Showing
Please register or sign in to comment