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 upUse raqote for canvas 2D rendering #23601
Conversation
|
I openend this PR to track my progress. |
|
I ran into some problems while trying to implement |
|
The other option is using RefCell, which can call borrow_mut to obtain a &mut value. |
|
I'm currently facing similar issues implementing Changing the interface of
I fiddled with this for some time now, but I'm not getting anywhere without some help. |
|
|
I tried that before and it resulted in the same error:
I feel it may be easier to discuss this on IRC, so I try to hit you up in #servo this week. Currently my "contribution time" is limited to the weekends, but for the sake of not being blocked, I'm going to make some extra time for this during (your) work hours, if that's fine with you? |
|
Update: I pushed the latest changes (46caa12), which make some of @jdm agreed to help me out by looking over these changes, when he's free, but I guess anyone's opinion is welcome. My Rust skills are still on a beginner level, so these issues might be a no-brainer. |
|
@pylbrecht I resolved the remaining errors stemming from the mutability changes, and I dealt with the warning about the raqote GenericPathBuilder implementation recursively calling itself. This required adding a bit of indirection via an Option to support the fact that raqote::PathBuilder::finish consumes the calling object, unlike azure. |
|
@jdm, thank you! I'll try to comprehend your changes, so I get an idea of how to approach such errors by myself in the future. Thanks again for your quick response! |
|
Closing since #23936 is the most up to date version of this work. |
Implement the raqote backend Rebased version of #23601 with some more stuff implemented. This passes some (not many) wpt tests. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23936) <!-- Reviewable:end -->
Implement the raqote backend Rebased version of #23601 with some more stuff implemented. This passes some (not many) wpt tests. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23936) <!-- Reviewable:end -->
Implement the raqote backend Rebased version of #23601 with some more stuff implemented. This passes some (not many) wpt tests. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23936) <!-- Reviewable:end -->
pylbrecht commentedJun 20, 2019
•
edited by SimonSapin
./mach build -d --features raqote_backenddoes not report any errors./mach test-tidydoes not report any errorsThis change is