aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas/canvas_data.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Introduce ImageData::get_rectAnthony Ramine2018-10-061-32/+13
| | | | | | | We use that to send only the pixels that will be actually drawn to the canvas thread in CanvasRenderingContext2d::PutImageData. We also make the canvas thread byte swap and premultiply colours in-place.
* Improve gl.putImageDataAnthony Ramine2018-10-051-6/+3
| | | | | This commit should allow us to send smaller blobs to the canvas thread, I made it into its own commit just to try=wpt.
* Align canvas.putImageData with specAnthony Ramine2018-10-051-8/+7
| | | | The arguments are supposed to be long values, not floats.
* Move canvas.putImageData checks to the DOM sideAnthony Ramine2018-10-051-46/+1
|
* Make HTMLCanvasElement::get_size return a Size2D<u32>Anthony Ramine2018-10-021-6/+8
| | | | The changes keep trickling down.
* Clean up ToAzurePattern for FillOrStrokeStyleAnthony Ramine2018-10-021-18/+21
|
* Remove Canvas2dMsg::DrawImageSelfAnthony Ramine2018-09-171-15/+0
| | | | | Now that all canvas share the same thread, it's useless to have a separate message for that.
* Specify capacity in CanvasData::read_pixelsAnthony Ramine2018-09-171-2/+4
|
* Update azureAnthony Ramine2018-09-161-39/+40
| | | | https://github.com/servo/rust-azure/pull/293
* Avoid a byte swap roundtripAnthony Ramine2018-09-141-3/+1
|
* Use a byte channel to retrieve pixels of 2D canvasAnthony Ramine2018-09-131-3/+3
|
* Merge byte swap and unmultiplying loops in ctx.getImageData()Anthony Ramine2018-09-131-5/+1
|
* Update euclid to 0.18Bastien Orivel2018-07-181-1/+1
|
* Update WR (transaction API change)Glenn Watson2018-06-201-17/+10
|
* Refactor draw_image and make draw_image_self call draw_image in canvas.cadubentzen2018-06-081-23/+10
|
* Respect the source rectangle when drawing a canvas to another canvas.Josh Matthews2018-06-051-8/+8
|
* Moved Canvas rendering to a single thread.Brody-Eastwood2018-04-231-0/+1001