servo/components/canvas
bors-servo 3d4a416c6b
Auto merge of #21310 - jdm:canvas-path, r=pcwalton
Improve rendering of transformed 2d paths

This makes http://webglreport.com/ render correctly by porting the [equivalent code](https://searchfox.org/mozilla-central/rev/196560b95f191b48ff7cba7c2ba9237bba6b5b6a/dom/canvas/CanvasRenderingContext2D.h#847-875) from Gecko's 2d canvas implementation that handles paths with transformations. The first commit fixes the rendering issue, and the second commit fixes some new test failures that were exposed by that change.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21169
- [x] There are tests for these changes

<!-- 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/21310)
<!-- Reviewable:end -->
2019-02-11 14:41:19 -05:00
..
webgl_mode Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
canvas_data.rs Format canvas code. 2019-02-07 15:13:13 -05:00
canvas_paint_thread.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
Cargo.toml Ensure that resized GL contexts do not destroy their resources while in use by WR. 2019-01-17 22:44:41 -05:00
gl_context.rs Ensure that resized GL contexts do not destroy their resources while in use by WR. 2019-01-17 22:44:41 -05:00
lib.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
webgl_thread.rs Report all messages processed by the webgl thread. 2019-01-31 14:57:38 -05:00