WebRender does not apply blur filters and transforms in the correct order
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: cbrewster, Unassigned)
References
Details
Attachments
(2 files)
WebRender applies blur filters after transforms are applied instead of before.
There was an attempt to fix this in Bug 1499113; however, it does not cover all cases.
The solution in that bug was to compute scale factors and adjust the x/y std deviation of the blur; however, this does not work if both a scale and rotate transform are applied.
Reporter | ||
Comment 1•5 years ago
|
||
Reporter | ||
Comment 2•5 years ago
|
||
Reporter | ||
Comment 3•5 years ago
|
||
We can use raster roots in WebRender to apply filters before applying transforms. This would also remove the need for using scale_factors
to adjust the x/y standard deviation of the blur.
We can add an additional check here to see if the picture has a filter applied:
https://searchfox.org/mozilla-central/rev/f91bd38732d4a330eba4e780812274b98eb81274/gfx/wr/webrender/src/picture.rs#2747
Updated•5 years ago
|
Comment 4•2 years ago
|
||
This was eventually fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1749380.
Description
•