Open Bug 1074544 Opened 10 years ago Updated 2 years ago

Improve the performance of SVGTextFrame::SetupContextPaint

Categories

(Core :: SVG, defect)

defect

Tracking

()

People

(Reporter: jwatt, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: perf)

SVGTextFrame::SetupContextPaint does things like create patterns that we never use just so it can tell which source to use as the context paint. Since this function is called on every text run this is pretty bad.
Ideally we'd pass around an object that stores whatever it needs in order to set up the context paint lazily on-demand.
Depends on: 1094247
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.