Rendering artifact with test case of Bug 1678938
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: sotaro, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files, 1 obsolete file)
Found the problem during looking into crash test crash with sw-wr on Android.
When I tested test contents of Bug 1678938, I saw rendering artifact both with WebRender and sw-wr on Win10 and on Linux.
The problem did not happen by disabling WebRender and chrome browser.
Reporter | ||
Comment 1•3 years ago
|
||
Reporter | ||
Comment 2•3 years ago
|
||
Reporter | ||
Updated•3 years ago
|
Comment 4•3 years ago
|
||
I get this as a regression range, and I double checked it
Comment 5•3 years ago
|
||
The transform matrix on that border primitive is:
m11: 2513,
m12: 4.666667,
m13: 3,
m14: 2.6666667,
m21: 5029,
m22: 11.333334,
m23: 7.0000005,
m24: 5.3333335,
m31: 7545,
m32: 18,
m33: 11,
m34: 8,
m41: -2357183.5,
m42: -4370.333,
m43: -2810.5,
m44: -2501.3333,
I suspect that non-WR Gecko is probably rejecting that transform and skipping rendering of that content?
Matt, do you know if this might be a case where Gecko is skipping rendering of this primitive and if so, where any such code might exist?
Updated•3 years ago
|
Comment 6•3 years ago
|
||
Sorry, totally forgot about this.
I think we cull out parts of polygons that cross through the w=0 plane, which might be what's needed here. https://searchfox.org/mozilla-central/rev/dedc585e3028e9b1ac9815e49b21e8f37e5ed3b7/gfx/2d/Polygon.h#314-316
Comment hidden (spam) |
Updated•2 months ago
|
Updated•22 days ago
|
Description
•