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 upClip blurred and shadowed text with local clip rect #2500
Conversation
|
Seems to fail reftests on CI. The change generally looks good to me, though we'll need a try run too once the CI issue is resolved. |
|
Whoops. Here is the try job for this change: https://treeherder.mozilla.org/#/jobs?repo=try&revision=17f13c2ccb9742d5360e7457b9ccbbcc94b0e1bb It seems that the new test is failing on the bots. It could be that the test needs to be fuzzed since it uses a blurred shadow. I know that other similar tests have a fuzz defined |
|
@mrobinson FYI, Alexis is @gankro on github |
The max difference in this is 181, so it seems to be something other than a fuzziness issue. |
|
It seems the issue here is that the rendered image is different on the bots. I have this issue with three others tests, also related to text rendering. |
606627f
to
6940b48
Take into account the local clipping rectangle in the brush and caching text shaders. This allows the blurred shadow of text to be properly clipped. Co-authored-by: Alexis Beingessner <a.beingessner@gmail.com>
|
The test is passing now after:
This seems to be the norm for many of the text tests, so it seems their output is very fragile. I wonder how we can improve this situation. |
|
@mrobinson oh, I didn't realize this is a github hook. TIL! |
|
This should fix https://bugzilla.mozilla.org/show_bug.cgi?id=1401653 and unblock https://bugzilla.mozilla.org/show_bug.cgi?id=1403261 |
|
@bors-servo r+ |
|
|
Clip blurred and shadowed text with local clip rect Take into account the local clipping rectangle in the brush and caching text shaders. This allows the blurred shadow of text to be properly clipped. Co-authored-by: Alexis Beingessner <a.beingessner@gmail.com> <!-- 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/2500) <!-- Reviewable:end -->
|
@mrobinson Ah, I also have that problem with generating text reference images on my machine. I haven't had a chance to delve into the cause either. |
|
|
@bors-servo retry |
Clip blurred and shadowed text with local clip rect Take into account the local clipping rectangle in the brush and caching text shaders. This allows the blurred shadow of text to be properly clipped. Co-authored-by: Alexis Beingessner <a.beingessner@gmail.com> <!-- 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/2500) <!-- Reviewable:end -->
|
|
|
Thanks for the reviews! |
mrobinson commentedMar 8, 2018
•
edited by larsbergstrom
Take into account the local clipping rectangle in the brush and caching
text shaders. This allows the blurred shadow of text to be properly
clipped.
Co-authored-by: Alexis Beingessner a.beingessner@gmail.com
This change is