[wpt-sync] Sync PR 37406 - Use direct compositing for canvases rendered on the CPU
Categories
(Core :: Layout: Images, Video, and HTML Frames, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox110 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 37406 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/37406
Details from upstream follow.
Justin Novosad <junov@chromium.org> wrote:
Use direct compositing for canvases rendered on the CPU
Before this CL, we already had the plumbing for presenting CPU-rendered canvases via GpuMemoryBuffer for direct compositing. That code path was originally implemented to support LowLatency mode. With this change, we exercise the GpuMemoryBuffer code path for "regular" latency canvases. This accelerates compositing, especially for pages that have many canvases.
With this change, on MacOS, the MotionMark Images test runs about 50% faster, and close to 2x faster with the ANGLE metal backend enabled.
Bug:1363627
Change-Id: I25b9e3105773fee84a1fc88432ed6640dac4c976
Reviewed-on: https://chromium-review.googlesource.com/4081383
WPT-Export-Revision: 1152b47b86d69d4876a74c8d4a568ff729ec6762
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 4 tests
Status Summary
Firefox
PASS: 4
Chrome
PASS: 4
Safari
PASS: 4
Links
Comment 4•3 years ago
|
||
| bugherder | ||
Description
•