Closed Bug 1730710 Opened 4 years ago Closed 4 years ago

Scale animations on out-of-process iframes are slow

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

VERIFIED FIXED
94 Branch
Fission Milestone Future
Tracking Status
firefox-esr78 --- disabled
firefox-esr91 --- disabled
firefox92 --- disabled
firefox93 --- wontfix
firefox94 --- verified

People

(Reporter: alexical, Assigned: alexical)

References

Details

(Keywords: perf)

Attachments

(2 files)

No description provided.
Attached file test.html

Attaching a file which demos the issue. However, you need to have fission enabled, then open it as a file, but also have an http server serving its directory (to get it into a separate process). I.e., run python -m SimpleHTTPServer 8000 in Downloads or wherever it is, then just open it in your browser as a file:// URL.

This actually does two things. One: it lets child stacking contexts inherit out
of process raster spaces by checking the parent stacking context's raster space
inside WR itself, and Two: it mirrors the logic in get_raster_space_for_prim
which undoes the device_pixel_scale for pinch zooms in order to get a
consistent glyph rasterization scale. This second thing won't affect the test
page linked in the bug, but it will affect the performance of, say, animating a
whole browser's scale, which is useful for reasons.

Keywords: perf

Setting status-firefox93=wontfix. I assume we don't need to uplift this fix to Beta 93 because Fission is disabled by default in 93.

Fission Milestone: --- → Future
Depends on: 1733633
Pushed by dothayer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2c675190a51a Propagate raster spaces in GPU process r=gw
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch

I've reproduced this bug using test.html file from comment 1, on macOS 11.

The issue is verified as fixed on latest Beta 94.0b6, under macOS 11 and Win 10 x64.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Regressions: 1740262
Blocks: 1710778
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: