aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/canvasrenderingcontext2d.rs
Commit message (Collapse)AuthorAgeFilesLines
* Enable textAlign, textBaseline and direction attributes for canvasUtsav Oza2020-06-101-0/+33
|
* Store resolved font style in canvas context stateUtsav Oza2020-06-101-1/+2
|
* Query layout to resolve canvas font property valueUtsav Oza2020-06-101-0/+11
|
* Resolve mach build warningsUtsav Oza2020-04-101-10/+2
|
* Remove DomRefCell wrapper for canvas_state from CanvasRenderingContext2DUtsav Oza2020-04-101-118/+72
|
* Update euclidManish Goregaokar2020-04-071-1/+0
|
* Make LayoutCanvasRenderingContext2DHelpers::get_canvas_id be safeAnthony Ramine2020-03-311-7/+11
|
* Make LayoutCanvasRenderingContext2DHelpers methods take selfAnthony Ramine2020-03-291-4/+4
|
* Give a lifetime parameter to LayoutDomAnthony Ramine2020-03-281-1/+1
|
* Add trait DomObjectWrap to provide WRAP functionYUAN LYU2020-03-201-2/+1
|
* 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-6/+22
| | | | Removed passing test .ini files and moved euclid extensions to euclidext.rs to factor out redundant code
* Moved CanvasState out of canvasrenderingcontextHanif Bin Ariffin2019-10-251-1568/+94
| | | | | | | | | | | | | | | | | Cleaned up imports... Applied clang-tidy Moved CanvasState and some other files Next commit should remove pub modifier from members of CanvasState and use getters/setters instead. Members of CanvasState are now private and applied test-tidy Now have getters that return an immutable reference. Also, I have no idea what to name some_func.rs Removed need for some_func and made pub(crate)
* fix getimagedata returns empty pixelsRasmus Viitanen2019-10-161-28/+21
|
* Support CORS attributes for image elements.Josh Matthews2019-10-041-9/+39
|
* Use the paint worklet's base URL for the 2d canvas' origin checks.Josh Matthews2019-10-041-1/+10
|
* Double key image cache by requesting origin, and store CORS status with ↵Josh Matthews2019-10-041-1/+4
| | | | cached images.
* Temporary implementation of Canvas.MeasureTextPaul Rouget2019-09-251-0/+15
|
* Update euclid.Emilio Cobos Álvarez2019-07-231-3/+6
| | | | | | | | 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.
* layout: Fix servo build.Emilio Cobos Álvarez2019-06-041-1/+1
|
* Extract canvas operations for reuse by OffscreenCanvas.Maharsh2019-05-221-733/+1217
|
* removed commentsMaharsh2019-05-131-45/+1
|
* Borrow Layout ChangeMaharsh2019-05-131-2/+5
|
* Updated Testcases and FormattingMaharsh2019-05-111-7/+6
|
* Changes for sender recieverMaharsh2019-05-091-5/+26
|
* Changes for gitignoreMaharsh2019-05-091-7/+16
|
* Created CanvasRect fro OffscreenCanvas and Updated TestcasesMaharsh2019-03-291-32/+97
|
* Rustfmt has changed its default style :/Simon Sapin2018-12-281-4/+4
|
* Make HTMLCanvasElement::fetch_all_data return a shared memory blobAnthony Ramine2018-11-211-1/+5
|
* Call rgba8_byte_swap_colors_inplace on the WebGL threadAnthony Ramine2018-11-201-3/+1
|
* Move PixelFormat to the pixels crateAnthony Ramine2018-11-201-1/+1
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Prefix some pixels functions with rgba8_Anthony Ramine2018-11-161-1/+1
|
* Remove useless `use crate_name;` imports.Simon Sapin2018-11-081-1/+0
| | | | A `crate_name::foo` path always works in 2018
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-1/+1
|
* Reorder importsPyfisch2018-11-061-6/+6
|
* Format remaining filesPyfisch2018-11-061-12/+30
|
* Sort `use` statementsSimon Sapin2018-11-061-3/+3
|
* `cargo fix --edition`Simon Sapin2018-11-061-23/+23
|
* Simplify ctx.drawImage a bitAnthony Ramine2018-10-111-28/+5
| | | | There is no need to swap between RGBA and BGRA twice.
* Share some code between 2D canvas and WebGLAnthony Ramine2018-10-091-21/+3
|
* Avoid ctx.getImageData in canvas.toDataURLAnthony Ramine2018-10-081-12/+23
|
* Abstract some stuff common to ctx.getImageData and ctx.putImageDataAnthony Ramine2018-10-081-119/+80
|
* Handle some transparent black cases in ctx.getImageDataAnthony Ramine2018-10-071-13/+38
|
* Align ctx.createImageData and ctx.getImageData with the specAnthony Ramine2018-10-061-44/+33
|
* Avoid copying pixels in ctx.putImageData sometimesAnthony Ramine2018-10-061-1/+4
|
* Introduce ImageData::get_rectAnthony Ramine2018-10-061-9/+4
| | | | | | | 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.
* Merge some byte swap/premultiply functions in their own crateAnthony Ramine2018-10-061-2/+3
|
* Improve gl.putImageDataAnthony Ramine2018-10-051-2/+28
| | | | | This commit should allow us to send smaller blobs to the canvas thread, I made it into its own commit just to try=wpt.