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 in the rendering of rounded borders #2754
Comments
|
I couldn't reproduce it to look like your screenshot, but I filed a bug based on your testcase: https://bugzilla.mozilla.org/show_bug.cgi?id=1461513 Edit: I think this test case is just a basic (and easier to reproduce) variant of #2590. |
|
@Darkspirit This could be the case, as the flickering boxes (which now appear if I make the window small enough to scroll) seem to align with some of the missing parts of the border. That said, something must still have changed as I used to see the dots in the circle on https://rawgit.com/Zirro/03f0e2d19b087db29b1f069e014e3ee5/raw/0f32535d70e56185e01e4f9be860afc4dc4fec79/fireworks.html when I created that issue, and for some time afterwards. I will have another look at this test case when #2590 has been resolved, to see if they are indeed the same issue or two separate ones. |
|
Hrm. I'm having trouble reproducing this one as well. I do see artifacts in https://rawgit.com/Zirro/03f0e2d19b087db29b1f069e014e3ee5/raw/0f32535d70e56185e01e4f9be860afc4dc4fec79/fireworks.html, though they don't seem to be related to to dot or dash rendering. |
|
Okay. I do see artifacts on this test case when resizing the window. These artifacts seem to affect the borders and the backgrounds equally though -- which are two different code paths. |
|
If it can help to narrow down the specific rendering issues I'm seeing by looking at certain hardware/drivers, I'm on a MacBook Pro (Early 2013) with Intel HD Graphics 4000 and a NVIDIA GeForce GT 650M with High Sierra. |
|
Works fine on my end (Linux/Intel) with or without resizing. |
|
This appears to have been resolved - quite likely through the merging of #2795. This is what I see now: The border placement could use some improvements to match the non-WebRender version, but I think this issue can be closed at this point. Latest WebRender has not been merged into Servo yet, but is available in Firefox Nightly. |
|
Better for me too. The dashed border needs some love and the bottom-right dot of the top-left box looks bitten off. |
|
That is strange behaviour indeed. For what it's worth, I can't seem to reproduce it on my machine. |
|
It seems like the original bug has been fixed. We should probably close this bug and open a new one with the behavior mentioned above by @MartinRogalla - I'm also unable to reproduce that issue on any of my local test machines - it may be a driver specific issue. |
Work around OSX/Intel shader bug with integer comparison Fixes #2862 Fixes #2754 Oh OSX GL drivers, so rough, such cruel, no remorse. r? anyone <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/2864) <!-- Reviewable:end -->



There seems to have been a recent regression in the way rounded borders are rendered. Here is a test case, with screenshots below.
Without WebRender:
With WebRender:
This seems to have changed within the last month, as the circle can be seen rendering properly in this issue created at the end of March.