Closed Bug 1804810 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 37416 - Revert "Use direct compositing for canvases rendered on the CPU"

Categories

(Core :: Layout: Images, Video, and HTML Frames, task, P4)

task

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 37416 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/37416
Details from upstream follow.

Keishi Hattori <keishi@chromium.org> wrote:

Revert "Use direct compositing for canvases rendered on the CPU"

This reverts commit c6b115aecd3b02b953bcdbffd5884910c25a6a69.

Reason for revert: fast/canvas/canvas-incremental-repaint.html is failing on Mac12 Tests
https://ci.chromium.org/ui/p/chromium/builders/ci/Mac12%20Tests/4657/overview

Original change's description:

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, MotionMark Images test runs significantly faster, especially with angle/metal enabled.

Bug:1363627

Change-Id: I25b9e3105773fee84a1fc88432ed6640dac4c976
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4081383
Commit-Queue: Justin Novosad \<junov@chromium.org>
Reviewed-by: Juanmi Huertas \<juanmihd@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1080998}

Bug: 1363627
Change-Id: Idb59c9044dcc584db332a18a28312e1f4332d14e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true

Reviewed-on: https://chromium-review.googlesource.com/4090966
WPT-Export-Revision: ac3275ba7432c735c5e928da735120ecaf0fbee3

Component: web-platform-tests → Layout: Images, Video, and HTML Frames
Product: Testing → Core

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

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4dbe6e0a5e9a [wpt PR 37416] - Revert "Use direct compositing for canvases rendered on the CPU", a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
You need to log in before you can comment on or make changes to this bug.