Revert "OneCopyCanvasCapture: Implement for WebGPU canvas" This reverts commit 35a0879fa2f18e895be895380f8e9de1a4c4e0f8. Reason for revert: crbug.com/1345767 failures in the following tests: WebGPUTraceTest_WebGPUCanvasDisableOneCopyCapture WebGPUTraceTest_WebGPUCanvasOneCopyCapture 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: I5c707a1a826516357b95b390e28fbd6ef8a580a2 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3774037 Auto-Submit: Mingjing Zhang <mjzhang@chromium.org> Commit-Queue: Mingjing Zhang <mjzhang@google.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Owners-Override: Mingjing Zhang <mjzhang@google.com> Cr-Commit-Position: refs/heads/main@{#1025921}
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.