Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enable textAlign, textBaseline and direction attributes for canvas | Utsav Oza | 2020-06-10 | 1 | -0/+33 |
| | |||||
* | Store resolved font style in canvas context state | Utsav Oza | 2020-06-10 | 1 | -1/+2 |
| | |||||
* | Query layout to resolve canvas font property value | Utsav Oza | 2020-06-10 | 1 | -0/+11 |
| | |||||
* | Resolve mach build warnings | Utsav Oza | 2020-04-10 | 1 | -10/+2 |
| | |||||
* | Remove DomRefCell wrapper for canvas_state from CanvasRenderingContext2D | Utsav Oza | 2020-04-10 | 1 | -118/+72 |
| | |||||
* | Update euclid | Manish Goregaokar | 2020-04-07 | 1 | -1/+0 |
| | |||||
* | Make LayoutCanvasRenderingContext2DHelpers::get_canvas_id be safe | Anthony Ramine | 2020-03-31 | 1 | -7/+11 |
| | |||||
* | Make LayoutCanvasRenderingContext2DHelpers methods take self | Anthony Ramine | 2020-03-29 | 1 | -4/+4 |
| | |||||
* | Give a lifetime parameter to LayoutDom | Anthony Ramine | 2020-03-28 | 1 | -1/+1 |
| | |||||
* | Add trait DomObjectWrap to provide WRAP function | YUAN LYU | 2020-03-20 | 1 | -2/+1 |
| | |||||
* | Implement CanvasRenderingContext2D.getTransform() | pylbrecht | 2020-02-12 | 1 | -0/+6 |
| | |||||
* | Make create_pattern() return None for incomplete images | pylbrecht | 2020-02-10 | 1 | -1/+1 |
| | |||||
* | Addresses issues raised in #24465; removes redundancy in set_bitmap_dimensions | Bailey Blankenship | 2019-11-10 | 1 | -6/+22 |
| | | | | Removed passing test .ini files and moved euclid extensions to euclidext.rs to factor out redundant code | ||||
* | Moved CanvasState out of canvasrenderingcontext | Hanif Bin Ariffin | 2019-10-25 | 1 | -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 pixels | Rasmus Viitanen | 2019-10-16 | 1 | -28/+21 |
| | |||||
* | Support CORS attributes for image elements. | Josh Matthews | 2019-10-04 | 1 | -9/+39 |
| | |||||
* | Use the paint worklet's base URL for the 2d canvas' origin checks. | Josh Matthews | 2019-10-04 | 1 | -1/+10 |
| | |||||
* | Double key image cache by requesting origin, and store CORS status with ↵ | Josh Matthews | 2019-10-04 | 1 | -1/+4 |
| | | | | cached images. | ||||
* | Temporary implementation of Canvas.MeasureText | Paul Rouget | 2019-09-25 | 1 | -0/+15 |
| | |||||
* | Update euclid. | Emilio Cobos Álvarez | 2019-07-23 | 1 | -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 Álvarez | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | Extract canvas operations for reuse by OffscreenCanvas. | Maharsh | 2019-05-22 | 1 | -733/+1217 |
| | |||||
* | removed comments | Maharsh | 2019-05-13 | 1 | -45/+1 |
| | |||||
* | Borrow Layout Change | Maharsh | 2019-05-13 | 1 | -2/+5 |
| | |||||
* | Updated Testcases and Formatting | Maharsh | 2019-05-11 | 1 | -7/+6 |
| | |||||
* | Changes for sender reciever | Maharsh | 2019-05-09 | 1 | -5/+26 |
| | |||||
* | Changes for gitignore | Maharsh | 2019-05-09 | 1 | -7/+16 |
| | |||||
* | Created CanvasRect fro OffscreenCanvas and Updated Testcases | Maharsh | 2019-03-29 | 1 | -32/+97 |
| | |||||
* | Rustfmt has changed its default style :/ | Simon Sapin | 2018-12-28 | 1 | -4/+4 |
| | |||||
* | Make HTMLCanvasElement::fetch_all_data return a shared memory blob | Anthony Ramine | 2018-11-21 | 1 | -1/+5 |
| | |||||
* | Call rgba8_byte_swap_colors_inplace on the WebGL thread | Anthony Ramine | 2018-11-20 | 1 | -3/+1 |
| | |||||
* | Move PixelFormat to the pixels crate | Anthony Ramine | 2018-11-20 | 1 | -1/+1 |
| | |||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Prefix some pixels functions with rgba8_ | Anthony Ramine | 2018-11-16 | 1 | -1/+1 |
| | |||||
* | Remove useless `use crate_name;` imports. | Simon Sapin | 2018-11-08 | 1 | -1/+0 |
| | | | | A `crate_name::foo` path always works in 2018 | ||||
* | `cargo fix --edition-idioms` | Simon Sapin | 2018-11-08 | 1 | -1/+1 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -6/+6 |
| | |||||
* | Format remaining files | Pyfisch | 2018-11-06 | 1 | -12/+30 |
| | |||||
* | Sort `use` statements | Simon Sapin | 2018-11-06 | 1 | -3/+3 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -23/+23 |
| | |||||
* | Simplify ctx.drawImage a bit | Anthony Ramine | 2018-10-11 | 1 | -28/+5 |
| | | | | There is no need to swap between RGBA and BGRA twice. | ||||
* | Share some code between 2D canvas and WebGL | Anthony Ramine | 2018-10-09 | 1 | -21/+3 |
| | |||||
* | Avoid ctx.getImageData in canvas.toDataURL | Anthony Ramine | 2018-10-08 | 1 | -12/+23 |
| | |||||
* | Abstract some stuff common to ctx.getImageData and ctx.putImageData | Anthony Ramine | 2018-10-08 | 1 | -119/+80 |
| | |||||
* | Handle some transparent black cases in ctx.getImageData | Anthony Ramine | 2018-10-07 | 1 | -13/+38 |
| | |||||
* | Align ctx.createImageData and ctx.getImageData with the spec | Anthony Ramine | 2018-10-06 | 1 | -44/+33 |
| | |||||
* | Avoid copying pixels in ctx.putImageData sometimes | Anthony Ramine | 2018-10-06 | 1 | -1/+4 |
| | |||||
* | Introduce ImageData::get_rect | Anthony Ramine | 2018-10-06 | 1 | -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 crate | Anthony Ramine | 2018-10-06 | 1 | -2/+3 |
| | |||||
* | Improve gl.putImageData | Anthony Ramine | 2018-10-05 | 1 | -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. |