aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas/canvas_paint_task.rs
Commit message (Collapse)AuthorAgeFilesLines
* task -> threadrohan.prinja2016-01-101-826/+0
|
* Fix warnings: Use Vec.extend_from_slice instead of Vec.push_allTetsuharu OHZEKI2015-12-101-2/+2
|
* Implement IsPointInPathDavid Zbarsky2015-12-051-0/+11
|
* Fix warningsSimon Sapin2015-12-031-1/+1
| | | | | | Fixing unused attributes warnings required updating serde_macros which required updating to rustc 1.6.0-nightly (a2866e387 2015-11-30) which required updating some other dependencies.
* add premultiply table for PutImageDataNathan Froyd2015-10-211-5/+5
|
* Fix issues found by rust-clippyCorey Farwell2015-10-121-1/+1
|
* Handle zero-sized source surfaces properly, and upgrade `ipc-channel` toPatrick Walton2015-09-301-20/+28
| | | | | | | | incorporate the fix for zero-sized shmem on Mac. Depends on servo/rust-azure#201 and pcwalton/ipc-channel#10. Closes #7422.
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-5/+5
|
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-4/+3
| | | | This merges import blocks that were reported by tidy as unmerged.
* Remove 'get_*' on getters as per RFC 0344 on various componentsMathieu Rheaume2015-09-121-2/+2
|
* sort all usesJohann Tuffe2015-08-201-3/+3
|
* replace .len() == 0 with is_empty()João Oliveira2015-08-141-1/+1
| | | | closes #7198
* Auto merge of #7092 - dzbarsky:putimagedata, r=jdmbors-servo2015-08-091-101/+88
|\ | | | | | | | | | | | | | | | | | | Clean up and fix PutImageData <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7092) <!-- Reviewable:end -->
| * Inline write_pixelsDavid Zbarsky2015-08-081-17/+1
| |
| * Switch PutImageData to using CopySurfaceDavid Zbarsky2015-08-081-23/+52
| |
| * Clean up dirty rect computationDavid Zbarsky2015-08-081-18/+13
| |
| * Inline dirty rect computationDavid Zbarsky2015-08-081-58/+46
| |
| * Pass a Rect instead of an Option<Rect> to PutImageDataDavid Zbarsky2015-08-081-11/+2
| |
* | Fix getImageData with sizes < 1 pixelDavid Zbarsky2015-08-081-19/+3
|/
* Respect the composition op when drawing imagesDavid Zbarsky2015-08-051-7/+14
|
* Implement strokeRect with zero-width or zero-height rectsDavid Zbarsky2015-08-041-0/+15
|
* script: Make most of 2D canvas and WebGL run over IPC.Patrick Walton2015-07-251-11/+33
| | | | | | To actually make the multiprocess communication work, we'll need to reroute the task creation to the pipeline or the compositor. But this works as a first step.
* canvas: Move to shared memory for images and canvas backing stores.Patrick Walton2015-07-241-2/+3
| | | | | | | | | | | | | The idea here is to land this before making images and canvas IPC-safe, because this will shake out bugs relating to the shared memory. There are currently test timeouts that are preventing multiprocess images and canvas from landing, and I believe those are due to the inefficiency of sending large amounts of data in the unoptimized builds we test with. By moving to shared memory, this should drastically reduce the number of copies and `serde` serialization. Under the hood, this uses Mach OOL messages on Mac and temporary memory-mapped files on Linux.
* Update to latest rust-layers, azure, and skiaMartin Robinson2015-07-141-6/+4
| | | | | | GLRasterizationContext is now responsible for doing GPU rasterization. It can coexist with its target NativeSurface, so we don't have to continually recreate NativeSurfaces when doing GPU rasterization.
* Use euclid from crates.ioecoal952015-06-191-4/+4
|
* Implement fill and stroke functions for all pattern types and check the zero ↵Hyowon Kim2015-06-171-25/+41
| | | | size gradient.
* Implement drawing shadows in canvas.Hyowon Kim2015-06-161-59/+134
|
* rust-geom API changesCorey Farwell2015-06-131-32/+32
| | | | https://github.com/servo/rust-geom/pull/81
* Implementation of pattern fill style for canvas.Hyowon Kim2015-06-131-1/+16
|
* Remove gfx_traits from the dependencies of [script].Mátyás Mustoha2015-06-121-1/+1
|
* Add attributes for canvas shadows.Hyowon Kim2015-06-121-1/+29
|
* Turn off default antialiasing for most DrawOptions.Mátyás Mustoha2015-05-281-2/+2
|
* Add disable-canvas-aa option to test runner.Mátyás Mustoha2015-05-281-1/+8
|
* Enable antialiasing for the canvas.Mátyás Mustoha2015-05-281-2/+2
|
* Reduce max line length from 150 to 120 charactersCorey Farwell2015-05-241-2/+4
| | | | Part of https://github.com/servo/servo/issues/6041
* Layerize canvasecoal952015-05-201-339/+14
| | | | | | | Note that this keeps using readback right now, `NativeSurface` painting will be implemented soon. Also see https://github.com/servo/servo/issues/6142
* Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.Simon Sapin2015-05-051-1/+1
|
* Remove remaining as_slice / as_mut_slice calls.Ms2ger2015-04-281-1/+1
|
* Remove as_mut_slice() calls.Ms2ger2015-04-261-2/+2
|
* Canvas: implement global composition and blending.Mátyás Mustoha2015-04-221-1/+186
|
* Canvas: add clipping path support.Mátyás Mustoha2015-04-221-0/+6
|
* Canvas: implement rectangle drawing.Mátyás Mustoha2015-04-211-0/+10
|
* Kicks off a WebGL implementationDiego Marcos2015-04-201-77/+54
|
* Canvas: implement context state save/restore.Mátyás Mustoha2015-04-191-23/+55
|
* Don't link to specific WHATWG multipage pageCorey Farwell2015-04-161-1/+1
| | | | | | | | | | | | | | "Links to the multipage version of the specification are unfortunately likely to break over time." -- https://html.spec.whatwg.org/multipage/asefij.html This commit removes all references to the specific pages when viewing WHATWG using multipage mode. I went through all these links and they redirect fine. Regex used to generate this commit: `s_whatwg.org/multipage/.*#_whatwg.org/multipage/#_g`
* Canvas: added lineCap and lineJoin support.Mátyás Mustoha2015-04-141-0/+64
|
* Canvas: added miterLimit support.Mátyás Mustoha2015-04-091-1/+7
|
* Canvas: added support for the globalAlpha attribute.Mátyás Mustoha2015-04-081-9/+13
|
* Auto merge of #5562 - mmatyas:canvas_linewidth, r=jdmbors-servo2015-04-081-0/+6
|\ | | | | | | Rebase of #5488
| * Canvas: added lineWidth support.Mátyás Mustoha2015-04-071-0/+6
| |