Closed Bug 630114 Opened 13 years ago Closed 1 year ago

Use gfxPattern::EXTEND_PAD instead of the default (gfxPattern::EXTEND_NONE)

Categories

(Core :: SVG, defect)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jwatt, Unassigned)

Details

(Keywords: perf)

Bas tells me that gfxPattern::EXTEND_NONE (the default) isn't hardware accelerated, and we would get a perf boost if we were to use gfxPattern::EXTEND_PAD instead. Basically we should look at the locations where we use PopGroup and PopGroupToSource and consider whether we can paint the result using EXTEND_PAD.

http://mxr.mozilla.org/mozilla-central/search?string=PopGroup&find=svg

Of course using EXTEND_PAD would require that we have a clip in place that restricts painting to the dimensions of the offscreen that we're painting.
Severity: normal → S3

There is no PAD any more.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.