Closed Bug 1849661 Opened 11 months ago Closed 10 months ago

Use new clip-mask render paths for picture primitives

Categories

(Core :: Graphics: WebRender, task)

task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: gw, Assigned: gw)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

Attachments

(1 file)

No description provided.
Blocks: 1671784

This patch removes use of the legacy clip-mask paths for picture
primitives. It makes use of render task sub-pass functionality
to apply the mask directly on top of the picture primitive when
the coordinate systems match (the common case). In the case of
complex transforms it renders them to a screen-space mask which
can be applied by the old clip-mask sampling code. In future,
we'll likely apply these as a sub-pass too.

Assignee: nobody → gwatson
Status: NEW → ASSIGNED
Blocks: 1774253
Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/06d33c5c1026
Use new clip-mask render paths for picture primitives r=gfx-reviewers,nical
Regressions: 1850436
Regressions: 1850438
Blocks: 1823579
Regressions: 1850489
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
Regressions: 1850547
Regressions: 1851508

(In reply to Pulsebot from comment #2)

Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/06d33c5c1026
Use new clip-mask render paths for picture primitives r=gfx-reviewers,nical

== Change summary for alert #39439 (as of Tue, 05 Sep 2023 17:28:25 GMT) ==

Improvements:

Ratio Test Platform Options Absolute values (old vs new)
4% tp5o linux1804-64-shippable-qr e10s fission stylo webrender-sw 212.48 -> 203.75
4% tp5o linux1804-64-shippable-qr e10s fission stylo webrender-sw 212.17 -> 203.82
3% tp5o_webext linux1804-64-shippable-qr e10s fission stylo webrender-sw 291.98 -> 282.32

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=39439

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: