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 7 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•2 years ago
|
||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Comment 2•2 years 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•2 years 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-effectsis 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•2 years ago
|
||
Comment 7•2 years ago
|
||
Backout merged to central:
https://hg.mozilla.org/mozilla-central/rev/b685b81b960a8c2d5684d322283c63dc477c7736
| Assignee | ||
Comment 8•2 years ago
|
||
Backout was caused by https://bugzilla.mozilla.org/show_bug.cgi?id=1901884 which is an unrelated intermittent.
Comment 10•2 years ago
|
||
| bugherder | ||
Comment 11•2 years 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•2 years ago
|
||
Backout merged to central: https://hg.mozilla.org/mozilla-central/rev/cd19aab35756
Comment 13•2 years 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•2 years 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•2 years ago
|
||
| Assignee | ||
Comment 16•2 years 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•2 years ago
|
Updated•2 years ago
|
Comment 17•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 18•2 years ago
|
||
I'm working on this.
| Assignee | ||
Comment 19•2 years 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 years ago
|
Updated•2 years ago
|
Description
•