If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

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

NEW
Unassigned

Status

()

Core
SVG
7 years ago
6 years ago

People

(Reporter: jwatt, Unassigned)

Tracking

({perf})

Firefox Tracking Flags

(Not tracked)

Details

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.
You need to log in before you can comment on or make changes to this bug.