Banding in linear gradient even when WebRender dithering is enabled
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
People
(Reporter: sotaro, Assigned: sotaro)
References
(Blocks 1 open bug, Regression, )
Details
(Keywords: regression)
Attachments
(4 files, 1 external file, 2 obsolete files)
Banding is perceived in linear gradient even when WebRender dithering is enabled.
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
When Attachment 9499116 [details] is shown with large window, the linear gradient rendering was repeatedly darkens and lightens slightly.
| Assignee | ||
Comment 3•1 year ago
|
||
| Assignee | ||
Comment 4•1 year ago
|
||
| Assignee | ||
Comment 5•1 year ago
•
|
||
Regression window
10:04.66 INFO: Got as far as we can go bisecting nightlies...
10:04.66 INFO: Last good revision: 79514ae28ef4b3508baf56fc8e89ef593a9b77b1 (2020-01-21)
10:04.66 INFO: First bad revision: ed735c504092d21e78ecf5cb4debf5faecb4c4ab (2020-01-22)
10:04.66 INFO: Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=79514ae28ef4b3508baf56fc8e89ef593a9b77b1&tochange=ed735c504092d21e78ecf5cb4debf5faecb4c4ab
Bug 1608741 seemed to cause the regression.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 6•1 year ago
|
||
| Assignee | ||
Comment 7•1 year ago
|
||
Comment 8•1 year ago
|
||
:gw, since you are the author of the regressor, bug 1608741, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 9•1 year ago
|
||
Bug 1608741 disabled dithering. But re-enabling dithering with pref gfx.webrender.dithering = true did not address the problem.
| Assignee | ||
Comment 10•1 year ago
|
||
The problem existed even with taking snapshot. The snapshot does not use WebRender for rendering.
Comment 11•1 year ago
|
||
Nical might have more idea what we're seeing in this case.
| Assignee | ||
Comment 12•1 year ago
|
||
I am not sure yet if the problem is an artifact or a banding as in the following.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 13•1 year ago
•
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #12)
I am not sure yet if the problem is an artifact or a banding as in the following.
Ah, it is just a perception. By using color picker app, color was changed correctly. And WebRender dithering did not address the banding perception.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 14•1 year ago
|
||
| Assignee | ||
Comment 15•1 year ago
|
||
With Attachment 9499392 [details] [diff], when brush shader is used for linear gradient instead of cached shader, the dithering seemed to work as expected.
| Assignee | ||
Comment 16•1 year ago
|
||
Optimization of LinearGradientTemplate::from() caused the problem for dithering.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 17•1 year ago
|
||
Comment 18•1 year ago
|
||
Comment 19•1 year ago
|
||
| Assignee | ||
Comment 21•1 year ago
|
||
Addressed wrench test failure.
https://treeherder.mozilla.org/jobs?repo=try&revision=ea126c085045e17ae58db6ec13aed3295e31ab25
Comment 22•1 year ago
|
||
Comment 23•1 year ago
|
||
| bugherder | ||
Updated•1 year ago
|
Updated•1 year ago
|
Description
•