aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/paintrenderingcontext2d.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add trait DomObjectWrap to provide WRAP functionYUAN LYU2020-03-201-2/+0
|
* Implement CanvasRenderingContext2D.getTransform()pylbrecht2020-02-121-0/+6
|
* Make create_pattern() return None for incomplete imagespylbrecht2020-02-101-1/+1
|
* Addresses issues raised in #24465; removes redundancy in set_bitmap_dimensionsBailey Blankenship2019-11-101-1/+2
| | | | Removed passing test .ini files and moved euclid extensions to euclidext.rs to factor out redundant code
* Update euclid.Emilio Cobos Álvarez2019-07-231-7/+5
| | | | | | | | There are a few canvas2d-related dependencies that haven't updated, but they only use euclid internally so that's not blocking landing the rest of the changes. Given the size of this patch, I think it's useful to get this landed as-is.
* Extract canvas operations for reuse by OffscreenCanvas.Maharsh2019-05-221-10/+1
|
* Rustfmt has changed its default style :/Simon Sapin2018-12-281-3/+3
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Format remaining filesPyfisch2018-11-061-1/+2
|
* `cargo fix --edition`Simon Sapin2018-11-061-20/+20
|
* Make HTMLCanvasElement::get_size return a Size2D<u32>Anthony Ramine2018-10-021-2/+1
| | | | The changes keep trickling down.
* Format script componentchansuke2018-09-191-34/+55
|
* Update CanvasRenderingContext2D WebIDL definitionAnthony Ramine2018-09-141-28/+32
| | | | CanvasImageSource was never supposed to include CanvasRenderingContext2D.
* Add unique canvas IDs to all canvas operations.Brody Eastwood2018-04-021-1/+1
|
* Update euclid, azure, skia, offscreen_gl_context, plane-split, webrenderSimon Sapin2017-12-081-4/+4
|
* Remove use of unstable box syntax.Simon Sapin2017-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax.
* Rename Root<T> to DomRoot<T>Anthony Ramine2017-09-261-5/+5
| | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned.
* Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-1/+1
|
* Implement Ellipse Canvas 2D APIJoone Hur2017-09-011-0/+5
| | | | | | | | | * Update rust-azure to 0.21.0 * Mark the following test case as fail: tests/wpt/mozilla/tests/mozilla/css-paint-api/background-image-tiled.html * Make the ellipse test case pass. BUG: https://github.com/servo/servo/issues/17598
* Revert "Auto merge of #18114 - emilio:revert-webgl-refactor, r=nox"Anthony Ramine2017-08-161-5/+5
| | | | | This reverts commit 4d10d39e8fe841c5fe2ac58da2daaa13c10c140e, reversing changes made to ee94e2b7c0bd327abe8f9545b2a1f792f67a2bdd.
* Revert "Auto merge of #17891 - MortimerGoro:webgl_move, r=glennw,emilio"Emilio Cobos Álvarez2017-08-161-5/+5
| | | | | This reverts commit 90f55ea4580e2a15f7d70d0491444f18b972d450, reversing changes made to 2e60b27a2186a8cba4b952960155dfcf3f47d7db.
* Improve WebGL architecture.Imanol Fernandez2017-08-151-5/+5
|
* Implement drawing an image from a CSS style value into a canvas.Alan Jeffrey2017-07-211-6/+14
|
* Fixed scaling artefacts in paint worklets caused by zoom and hidpi.Alan Jeffrey2017-07-201-6/+26
|
* Implemented paint worklet rendering context.Alan Jeffrey2017-06-301-5/+354
|
* Implemented paint worklets invoking worklet scripts.Alan Jeffrey2017-06-291-0/+29