WR SVG Filters: Integrate new SVGFE code path with Gecko
Categories
(Core :: Graphics: WebRender, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: ahale, Assigned: ahale)
References
(Blocks 7 open bugs, Regressed 3 open bugs)
Details
Crash Data
Attachments
(2 files)
Now that we have the SVGFE code in WebRender we need to hook it up in Gecko so it is user visible and improves performance.
Assignee | ||
Comment 1•5 months ago
|
||
Updated•5 months ago
|
Assignee | ||
Updated•5 months ago
|
Comment 2•4 months ago
|
||
I found this testcase in the folder where I keep all my test cases, and noticed that some pieces in it show different behavior with the patch applied. IIRC all browsers are already fairly inconsistent about the behavior here but I think it's valuable to only change Firefox's behavior with intention and not by accident, so it's worth investigating what's causing the differences in behavior. This doesn't need to block the landing of this patch as the bugs are likely orthogonal, and because gfx.webrender.svg-filter-effects
is nightly-only for now.
Assignee | ||
Comment 4•4 months ago
|
||
(In reply to Markus Stange [:mstange] from comment #2)
Created attachment 9405581 [details]
testcase exploring filter regionsI found this testcase in the folder where I keep all my test cases, and noticed that some pieces in it show different behavior with the patch applied. IIRC all browsers are already fairly inconsistent about the behavior here but I think it's valuable to only change Firefox's behavior with intention and not by accident, so it's worth investigating what's causing the differences in behavior. This doesn't need to block the landing of this patch as the bugs are likely orthogonal, and because
gfx.webrender.svg-filter-effects
is nightly-only for now.
I'll give this test case a look, if it is inconsistent between browsers then I'd like to turn it into a set of WPT tests.
Comment 5•4 months ago
|
||
Comment 7•4 months ago
|
||
Backout merged to central:
https://hg.mozilla.org/mozilla-central/rev/b685b81b960a8c2d5684d322283c63dc477c7736
Assignee | ||
Comment 8•3 months ago
|
||
Backout was caused by https://bugzilla.mozilla.org/show_bug.cgi?id=1901884 which is an unrelated intermittent.
Comment 10•3 months ago
|
||
bugherder |
Comment 11•3 months ago
|
||
This change causes gpu process crashes, e.g. bp-173238fd-2e8f-474e-a9ae-227270240619. The issue reproduces here with https://developer.valvesoftware.com/wiki/Source/en#/media/File:Screenshot-CSS-Source_engine_comparison.jpg
The change will be reverted in the next Nightly.
Comment 12•3 months ago
|
||
Backout merged to central: https://hg.mozilla.org/mozilla-central/rev/cd19aab35756
Comment 13•3 months ago
|
||
The bug is linked to a topcrash signature, which matches the following criterion:
- Top 10 desktop browser crashes on nightly
:ahale, could you consider increasing the severity of this top-crash bug?
For more information, please visit BugBot documentation.
Comment 14•3 months ago
|
||
This bug was tagged with the crash signature that it caused, and it has been backed out, so it doesn't make sense to increase the severity of this bug because of the crash it caused. Clearing needinfo.
Comment 15•3 months ago
|
||
Assignee | ||
Comment 16•3 months ago
|
||
Status: The above diff has addressed the panic that was occurring on certain websites where an SVG filter graph was applied to a picture and then also an Opacity filter (which is not SVG) was being applied to the same picture.
Assignee | ||
Updated•3 months ago
|
Updated•3 months ago
|
Comment 17•3 months ago
|
||
bugherder |
Assignee | ||
Comment 18•3 months ago
|
||
I'm working on this.
Assignee | ||
Comment 19•3 months ago
|
||
Just FYI the topcrash should have been resolved already by https://phabricator.services.mozilla.com/D214912 which also changed the error message and made it have a more spec-compliant failure mode if there is a mixed filter chain (which should only be possible in the case of opacity, which is handled by that patch).
Updated•2 months ago
|
Updated•2 months ago
|
Description
•