Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update webrender and serde_bytes | Anthony Ramine | 2019-11-13 | 1 | -1/+1 |
| | |||||
* | Addresses issues raised in #24465; removes redundancy in set_bitmap_dimensions | Bailey Blankenship | 2019-11-10 | 1 | -1/+1 |
| | | | | Removed passing test .ini files and moved euclid extensions to euclidext.rs to factor out redundant code | ||||
* | Update euclid. | Emilio Cobos Álvarez | 2019-07-23 | 1 | -1/+1 |
| | | | | | | | | 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. | ||||
* | Fix formatting. | Josh Matthews | 2019-06-03 | 1 | -3/+1 |
| | |||||
* | Add cargo feature to control canvas backend. | Josh Matthews | 2019-06-03 | 1 | -3/+7 |
| | |||||
* | Make CanvasData use GenericDrawTarget | pylbrecht | 2019-05-31 | 1 | -1/+1 |
| | |||||
* | Changes for sender reciever | Maharsh | 2019-05-09 | 1 | -1/+1 |
| | |||||
* | Rustfmt has changed its default style :/ | Simon Sapin | 2018-12-28 | 1 | -1/+1 |
| | |||||
* | Update MPL license to https (part 4) | Jan Andre Ikenmeyer | 2018-11-19 | 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 | ||||
* | Format remaining files | Pyfisch | 2018-11-06 | 1 | -126/+71 |
| | |||||
* | Sort `use` statements | Simon Sapin | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | Exit Canvas paint thread on shutdown | Paul Rouget | 2018-10-29 | 1 | -0/+1 |
| | |||||
* | Simplify ctx.drawImage a bit | Anthony Ramine | 2018-10-11 | 1 | -8/+4 |
| | | | | There is no need to swap between RGBA and BGRA twice. | ||||
* | Abstract some stuff common to ctx.getImageData and ctx.putImageData | Anthony Ramine | 2018-10-08 | 1 | -8/+4 |
| | |||||
* | Align ctx.createImageData and ctx.getImageData with the spec | Anthony Ramine | 2018-10-06 | 1 | -3/+4 |
| | |||||
* | Avoid copying pixels in ctx.putImageData sometimes | Anthony Ramine | 2018-10-06 | 1 | -2/+6 |
| | |||||
* | Introduce ImageData::get_rect | Anthony Ramine | 2018-10-06 | 1 | -12/+2 |
| | | | | | | | 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 | -1/+2 |
| | |||||
* | Make HTMLCanvasElement::get_size return a Size2D<u32> | Anthony Ramine | 2018-10-02 | 1 | -1/+1 |
| | | | | The changes keep trickling down. | ||||
* | Remove Canvas2dMsg::DrawImageSelf | Anthony Ramine | 2018-09-17 | 1 | -16/+4 |
| | | | | | Now that all canvas share the same thread, it's useless to have a separate message for that. | ||||
* | Don't create 2D canvas contexts arbitrarily | Anthony Ramine | 2018-09-16 | 1 | -3/+9 |
| | | | | | Sometimes, the canvas still has no rendering context, in this case it represents a transparent black rectangle. | ||||
* | Avoid a byte swap roundtrip | Anthony Ramine | 2018-09-14 | 1 | -3/+2 |
| | |||||
* | Moved Canvas rendering to a single thread. | Brody-Eastwood | 2018-04-23 | 1 | -1090/+233 |
| | |||||
* | Add unique canvas IDs to all canvas operations. | Brody Eastwood | 2018-04-02 | 1 | -13/+29 |
| | |||||
* | Use ByteBuf for the canvas messages | Anthony Ramine | 2018-03-26 | 1 | -10/+43 |
| | | | | | The type Vec<u8> is super unefficient to work with in Serde if all you want to represent is a simple blob. | ||||
* | Update WR (accelerated webgl fix on mac, line decoration optimizations). | Glenn Watson | 2018-03-23 | 1 | -0/+1 |
| | |||||
* | Use specific assertion for canvas | CYBAI | 2018-01-25 | 1 | -1/+1 |
| | |||||
* | remove unsued IpcReceiver | tigercosmos | 2017-12-20 | 1 | -1/+1 |
| | |||||
* | Revert "Send IPC receiver for canvas as part of CreateCanvasPaintThread message" | Josh Matthews | 2017-12-18 | 1 | -3/+6 |
| | | | | This reverts commit a504c9358b70fcf02bd8f2067fcbd17d16c89439. | ||||
* | remove unused `self` in canvas_paint_thread | tigercosmos | 2017-12-17 | 1 | -1/+1 |
| | |||||
* | Send IPC receiver for canvas as part of CreateCanvasPaintThread message | tigercosmos | 2017-12-16 | 1 | -6/+3 |
| | |||||
* | Implement Ellipse Canvas 2D API | Joone Hur | 2017-09-01 | 1 | -0/+14 |
| | | | | | | | | | * 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 | ||||
* | Implement CanvasRenderingContext2d.fillText's "unimplemented" message | Bruno Bernardino | 2017-08-23 | 1 | -0/+5 |
| | |||||
* | Revert "Auto merge of #18114 - emilio:revert-webgl-refactor, r=nox" | Anthony Ramine | 2017-08-16 | 1 | -11/+5 |
| | | | | | This reverts commit 4d10d39e8fe841c5fe2ac58da2daaa13c10c140e, reversing changes made to ee94e2b7c0bd327abe8f9545b2a1f792f67a2bdd. | ||||
* | Revert "Auto merge of #17891 - MortimerGoro:webgl_move, r=glennw,emilio" | Emilio Cobos Álvarez | 2017-08-16 | 1 | -5/+11 |
| | | | | | This reverts commit 90f55ea4580e2a15f7d70d0491444f18b972d450, reversing changes made to 2e60b27a2186a8cba4b952960155dfcf3f47d7db. | ||||
* | Improve WebGL architecture. | Imanol Fernandez | 2017-08-15 | 1 | -11/+5 |
| | |||||
* | Update WR. | Glenn Watson | 2017-08-09 | 1 | -11/+19 |
| | | | | | | | * CPU text run optimizations. * Linux subpixel positioning / rasterization. * Update debug flags API. * Update to resource transactions API. | ||||
* | Implemented paint worklet arguments. | Alan Jeffrey | 2017-07-29 | 1 | -0/+7 |
| | |||||
* | Use AntialiasMode in CanvasPaintThread::new | DarkDrek | 2017-07-29 | 1 | -9/+8 |
| | | | | Change suggested in #17661 | ||||
* | Don't delete webrender image keys immediately. | Alan Jeffrey | 2017-07-17 | 1 | -2/+18 |
| | |||||
* | Upgrade to the latest version of WebRender | Martin Robinson | 2017-07-13 | 1 | -8/+8 |
| | |||||
* | Clear canvas thread state on recreation. | Alan Jeffrey | 2017-07-05 | 1 | -0/+2 |
| | |||||
* | Update WR (CPU text optimizations, image format renames). | Glenn Watson | 2017-06-16 | 1 | -1/+1 |
| | |||||
* | Bump euclid to 0.14. | Nicolas Silva | 2017-06-14 | 1 | -16/+12 |
| | |||||
* | Clear webrender image id when resizing a canvas. | Alan Jeffrey | 2017-06-13 | 1 | -0/+4 |
| | |||||
* | Update WR (various optimizations, gradient improvements). | Glenn Watson | 2017-04-03 | 1 | -16/+33 |
| | |||||
* | Update WR (opaque rect optimization, stacking context culling). | Glenn Watson | 2017-03-27 | 1 | -1/+2 |
| | | | | | | | | | Correct viewport test references These references were using an incorrect value for the expected container width. Now that WebRender is no longer clipping to stacking context boundaries the rendered width is correct (100% of viewport width = 240px). | ||||
* | Fix crop_area_byte_length calculation in crop_image and add tests | n0max | 2017-03-16 | 1 | -1/+1 |
| |