Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upregression: Specific wikipedia page: Semi-donut chart shows lines on the bottom half where there shouldn't be #2294
Comments
|
I did some investigation of this - that bisect is not quite correct. It occurred in #2242 which merged just after that. I can see what the problem is, but I'm not sure of the correct fix. @mrobinson could you take a look at this? A reduced test case:
After that PR, this displays as a fairly large rectangle. Before that PR, this will correctly have a clip mask applied and show as a very thin rectangle. With current master it doesn't get any clip mask applied at all. What happens is that the code here webrender/webrender/src/prim_store.rs Line 1984 in c8babed But since they are incompatible coordinate systems, there's no local clip rect that applies in the vertex shader, and since this clip gets filtered out, there is no clip mask generated either. Thoughts @mrobinson ? |
When all clips are optimized away, we may still need a clip mask when some of those clips were in a different coordinate system. This change ensures that this information is used to properly apply global clip masks for segmented primitives with this kind of clipping situation. Fixes servo#2294.
It depends on the STR you use - there are two changes in behavior reported in bug 1430063 comment 1. I filed this issue and #2293 for them. #2242 is in the regression range for #2293, so that might be what you're seeing. That being said maybe I shouldn't have filed two issues since that's probably just confusing the matter further. |
|
Fixed by #2324. |
Filing for the "first regression" reported at https://bugzilla.mozilla.org/show_bug.cgi?id=1430063 where the chart goes from looking correct to having streaky lines in the bottom half.
Narrowed down the WR regression range to this:
So definitely from #2228.