Reland "OneCopyCanvasCapture: Implement for WebGPU canvas" This is a reland of commit 35a0879fa2f18e895be895380f8e9de1a4c4e0f8 What're changed: - Add suppressions on mac ASAN bots. - Add grace_period_end to new WebGPUCanvasCapture pixel tests. Original change's description: > OneCopyCanvasCapture: Implement for WebGPU canvas > > Implement GPUCanvasContext::CopyRenderingResultsToVideoFrame() > which invokes newly added WebGPUSwapBufferProvider::CopyToVideoFrame() > method. > > WebGPUSwapBufferProvider::CopyToVideoFrame() needs Dawn relinquishing > access to the swapchain texture via ReleaseWGPUTextureAccessIfNeeded(). > > Add new test: > src/content/test/data/gpu/pixel_webgpu_canvas_capture_to_video.html > which captures WebGPU canvas and stream to a video player. > > Bug: 1310123 > Change-Id: Ied9460549ad5e8148f6b586a1e259cac48f2d9eb > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3717946 > Reviewed-by: Austin Eng <enga@chromium.org> > Reviewed-by: Kenneth Russell <kbr@chromium.org> > Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org> > Commit-Queue: Quyen Le <lehoangquyen@chromium.org> > Reviewed-by: Corentin Wallez <cwallez@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1025756} Bug: 1310123 Change-Id: I6bfa449b0f8906fdb8aa9c1782d1ce58e29e86a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3774274 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Brian Sheedy <bsheedy@chromium.org> Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by: Juanmi Huertas <juanmihd@chromium.org> Commit-Queue: Quyen Le <lehoangquyen@chromium.org> Cr-Commit-Position: refs/heads/main@{#1026403}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.