Closed Bug 1754829 Opened 3 years ago Closed 3 years ago

Detect when an SVG path is a rect

Categories

(Core :: Graphics: WebRender, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: nical, Assigned: nical)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Google slides looooves to produce those and they get us down a much slower path than proper rects.

This patch doesn't attempt to cache the result. I don't know if it will cause regressions in practice.

Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a0cf41898cf6 Detect when an SVG path is a Rectangle. r=gfx-reviewers,mstange

Backed out for causing hybrid bustages on SVGPathSegUtils.cpp

Flags: needinfo?(nical.bugzilla)
Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/71732ed61fb2 Detect when an SVG path is a Rectangle. r=gfx-reviewers,mstange
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
Flags: needinfo?(nical.bugzilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: