Open Bug 1409486 (wr-svg-filters) Opened 2 years ago Updated Last month

[meta] Render all SVG filters + CSS filters with WebRender

Categories

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

defect

Tracking

()

Tracking Status
firefox57 --- unaffected
firefox58 --- unaffected

People

(Reporter: mstange, Unassigned)

References

(Depends on 2 open bugs, Blocks 5 open bugs)

Details

(Keywords: meta, Whiteboard: [gfx-noted])

At the moment, any unhandled CSS filters and any SVG filters cause us to go through the fallback path and handle the filters in Gecko.

It would be nice to avoid the fallback and handle the filters in WebRender instead. I've filed https://github.com/servo/webrender/issues/1880 with a proposed API.
I'm going to keep the meta out of the MVP, but individual filters can be blockers for MVP.
Keywords: meta
Whiteboard: [gfx-noted]
It might be good to file individual bugs for the unhandled CSS/SVG filters, or at least list them here. Right now this is just an empty metabug which doesn't seem too useful.
The API in https://github.com/servo/webrender/issues/1880 has a list of all the individual filters that we need to support. We can file individual bugs / WR issues for them once we start going through that list and implement them. In the meantime I think it's still valuable to have a meta bug open for this.

CSS filters are already completely supported. It's just all the SVG filters that are missing.

The most important filters to implement are probably: flood, composite and blend. Having these will let us use WebRender for filters on quite a few pages.

Depends on: 1555476
Depends on: 1555483
Alias: wr-svg-filters
Depends on: 1573649
Depends on: 1573657
Depends on: 1573719
Depends on: 1573994
You need to log in before you can comment on or make changes to this bug.