mirror of
https://github.com/servo/servo.git
synced 2025-07-13 10:23:40 +01:00
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 --> |
||
---|---|---|
.. | ||
webgl_mode | ||
canvas_data.rs | ||
canvas_paint_thread.rs | ||
Cargo.toml | ||
gl_context.rs | ||
lib.rs | ||
webgl_thread.rs |