Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CanvasCapture: Make Pixel_WebGPUCanvasOneCopyCapture consistent.
Pixel_WebGPUCanvasOneCopyCapture was flaky due to WebRTC's inconsistent compression quality. This CL changes Pixel_WebGPUCanvasOneCopyCapture to use canvas.captureStream() as source of the video element directly. This also requires a change in html_canvas_element to activate OneCopyCanvasCapture feature path when the canvas rendering context's color is opaque. Previously this feature was only utilised when the video sink can discard alpha (such as WebRTC). Bug: 1349480 Bug: 1349676 Change-Id: I414389a4dec4fc1b7d8e90053c7fd1c08817f0a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3805198 Reviewed-by: Kenneth Russell <kbr@chromium.org> Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org> Commit-Queue: Quyen Le <lehoangquyen@chromium.org> Cr-Commit-Position: refs/heads/main@{#1031446}
- Loading branch information
1 parent
3614277
commit c0bb919
Showing
5 changed files
with
39 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters