Max blur radius should be applied after scale factors are applied
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: cbrewster, Assigned: cbrewster)
References
Details
Attachments
(6 files)
We currently apply the max blur radius to blur/drop-shadow filters before applying scale factors.
The non-WR path appears to apply the max blur radius afterwards. Additionally this will prevent the blur radius from exceeding the maximum blur amount regardless of the scale factors.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
Sure! I think the fix should be somewhat straight-forward.
Assignee | ||
Comment 5•5 years ago
|
||
Clamping of the blur radius depends on transform scale factors. This info is not available until later in the WebRender pipeline, so we need to delegate blur radius clamping to WebRender.
Assignee | ||
Comment 6•5 years ago
|
||
Depends on D65804
Comment 7•5 years ago
|
||
Hi Connor, do you know if it's a recent regression? Just wondering if this should be uplifted to Beta 75 :)
Assignee | ||
Comment 8•5 years ago
|
||
This is not really a regression, as it was never handled correctly. However, this became a bigger issue after Bug 1499113, as it allows you to create a scenario where you can bypass the max blur radius by using a scale transform. (I was able to crash FF by using a very large scale amount)
![]() |
||
Comment 10•5 years ago
|
||
Backed out 2 changesets (Bug 1618000) for causing reftest failures in feGaussianBlur-5-ref.svg CLOSED TREE.
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=292627789&repo=autoland&lineNumber=3056
Comment 11•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Comment 12•5 years ago
|
||
![]() |
||
Comment 13•5 years ago
|
||
Backed out for Wrench bustages.
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=294398547&repo=autoland&lineNumber=13432
Backout: https://hg.mozilla.org/integration/autoland/rev/fc4c4e983d42d9bf0600385276e6e23c22a7eaa9
Assignee | ||
Updated•5 years ago
|
Comment 14•5 years ago
|
||
Assignee | ||
Comment 15•5 years ago
|
||
Comment 16•5 years ago
|
||
![]() |
||
Comment 17•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/077c46d3381c
https://hg.mozilla.org/mozilla-central/rev/3feaf53352b8
https://hg.mozilla.org/mozilla-central/rev/171275c408d1
Updated•5 years ago
|
Description
•