Repository navigation
Enable antialiasing for the canvas. - #6065
Conversation
|
Critic review: https://critic.hoppipolla.co.uk/r/5010 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
|
Unfortunately, I couldn't run the test on the current master due to #6042, but it worked fine and looked great before I rebased. |
|
-S-awaiting-review +S-needs-code-changes Review status:
Comments from the review on Reviewable.io |
|
Done! |
|
@bors-servo: r+ |
|
📌 Commit 33fbce7 has been approved by |
This patch turns on antialiasing for the canvas, and updates the painting code to use the updated Azure DrawOptions defined in servo/rust-azure#158. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6065) <!-- Reviewable:end -->
|
💔 Test failed - mac2 |
|
Well, as expected. |
Do we need to make reftests explicitly disable antialiasing for canvases? |
|
We already do for text AA: Oh, and if we add a flag and make that change here, we will probably need it in the WPT test runner, too. |
|
I've added an antialias flag for the canvas, |
|
The test runner works with the new flag now, but what would be the preferred way to handle antialiasing? Since it can be used many places other than fonts and canvas (eg. CSS borders), should we define a global antialias flag? Or set the default to 'off' for now, then add support later maybe? |
|
Possibly it should be part of the |
|
💔 Test failed - mac1 |
|
|
☔ The latest upstream changes (presumably #6196) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Rebased, and, because I don't know when #6042 will get fixed, I've turned those two test off for now. |
|
Could you squash the last two commits in with the others? |
|
Like this? |
|
@bors-servo: r+ |
|
📌 Commit f4c0bd3 has been approved by |
This patch turns on antialiasing for the canvas, and updates the painting code to use the updated Azure DrawOptions defined in servo/rust-azure#158. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6065) <!-- Reviewable:end -->
This patch turns on antialiasing for the canvas, and updates the painting code to use the updated Azure DrawOptions defined in servo/rust-azure#158.