Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Implement DrawOptions.set_alpha() | pylbrecht | 2019-08-21 | 1 | -1/+1 | |
| | ||||||
* | Update euclid. | Emilio Cobos Álvarez | 2019-07-23 | 1 | -18/+17 | |
| | | | | | | | | 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. | |||||
* | WebRender units are no longer reexported. | Patrick Walton | 2019-07-09 | 1 | -1/+1 | |
| | ||||||
* | Rename {azure,raqote}_backend feature flags to canvas2d-{azure,raqote} | Simon Sapin | 2019-07-01 | 1 | -26/+26 | |
| | ||||||
* | Fix some new warnings | Simon Sapin | 2019-06-22 | 1 | -19/+19 | |
| | ||||||
* | Auto merge of #23499 - est31:unused_code_removal_3, r=jdm | bors-servo | 2019-06-04 | 1 | -20/+0 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unused code (3/N) <!-- Please describe your changes on the following line: --> Third PR in a series of PRs to remove unused/dead code from servo, powered by an (upcoming) tool of mine. Please take a look and tell me if you want to keep something. * First PR: #23477 * Second PR: #23498 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because they only remove dead code <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23499) <!-- Reviewable:end --> | |||||
| * | Remove unused code from a bunch of crates | est31 | 2019-06-03 | 1 | -20/+0 | |
| | | ||||||
* | | Make Azure backend build again. | Josh Matthews | 2019-06-03 | 1 | -24/+25 | |
| | | ||||||
* | | Fix formatting. | Josh Matthews | 2019-06-03 | 1 | -46/+36 | |
| | | ||||||
* | | Add cargo feature to control canvas backend. | Josh Matthews | 2019-06-03 | 1 | -799/+168 | |
| | | ||||||
* | | Make CanvasData use GenericDrawTarget | pylbrecht | 2019-05-31 | 1 | -167/+218 | |
| | | ||||||
* | | Make CanvasPaintState generic | pylbrecht | 2019-05-31 | 1 | -24/+55 | |
| | | ||||||
* | | Implement GenericPathBuilder for azure_hl::PathBuilder | pylbrecht | 2019-05-31 | 1 | -1/+105 | |
| | | ||||||
* | | Implement GenericDrawTarget for azure_hl::DrawTarget | pylbrecht | 2019-05-31 | 1 | -11/+197 | |
| | | ||||||
* | | Add GenericDrawTarget trait | pylbrecht | 2019-05-31 | 1 | -76/+308 | |
|/ | ||||||
* | Changes for sender reciever | Maharsh | 2019-05-09 | 1 | -3/+3 | |
| | ||||||
* | Format canvas code. | Josh Matthews | 2019-02-07 | 1 | -75/+97 | |
| | ||||||
* | Keep is_point_in_path using a path, rather than a path builder. | Josh Matthews | 2019-02-07 | 1 | -11/+6 | |
| | ||||||
* | Always store a transform in PathBuilderRef. | Josh Matthews | 2019-02-06 | 1 | -68/+28 | |
| | ||||||
* | canvas: Refactor implicit path/path builder state machine into a single enum. | Josh Matthews | 2019-02-06 | 1 | -183/+294 | |
| | ||||||
* | Transform paths between user and device space when there is a 2D canvas ↵ | Josh Matthews | 2019-02-06 | 1 | -48/+220 | |
| | | | | transformation present. | |||||
* | Ensure canvas path stroking and filling use the same paths. | Josh Matthews | 2019-02-06 | 1 | -11/+31 | |
| | ||||||
* | Update webrender | Manish Goregaokar | 2018-11-27 | 1 | -2/+3 | |
| | ||||||
* | Make HTMLCanvasElement::fetch_all_data return a shared memory blob | Anthony Ramine | 2018-11-21 | 1 | -11/+6 | |
| | ||||||
* | Update MPL license to https (part 4) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 | |
| | ||||||
* | Prefix some pixels functions with rgba8_ | Anthony Ramine | 2018-11-16 | 1 | -3/+3 | |
| | ||||||
* | Remove useless `use crate_name;` imports. | Simon Sapin | 2018-11-08 | 1 | -2/+0 | |
| | | | | A `crate_name::foo` path always works in 2018 | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -3/+5 | |
| | ||||||
* | Format remaining files | Pyfisch | 2018-11-06 | 1 | -157/+272 | |
| | ||||||
* | Use pixels::get_rect in CanvasData::draw_image | Bastien Orivel | 2018-10-12 | 1 | -37/+5 | |
| | | | | | Those functions are the same except that get_rect isn't failible, so we have to check that the rect we want is actually in the image. | |||||
* | Return input as is when there is no cropping to be done | Anthony Ramine | 2018-10-09 | 1 | -0/+3 | |
| | ||||||
* | Remove some condition in CanvasData::write_image | Anthony Ramine | 2018-10-09 | 1 | -15/+15 | |
| | | | | The surface creation should never fail. | |||||
* | Abstract some stuff common to ctx.getImageData and ctx.putImageData | Anthony Ramine | 2018-10-08 | 1 | -17/+10 | |
| | ||||||
* | Handle some transparent black cases in ctx.getImageData | Anthony Ramine | 2018-10-07 | 1 | -16/+1 | |
| | ||||||
* | Align ctx.createImageData and ctx.getImageData with the spec | Anthony Ramine | 2018-10-06 | 1 | -13/+3 | |
| | ||||||
* | Always make sure we get a surface in CanvasData::put_image_data | Anthony Ramine | 2018-10-06 | 1 | -11/+11 | |
| | ||||||
* | Introduce ImageData::get_rect | Anthony Ramine | 2018-10-06 | 1 | -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.putImageData | Anthony Ramine | 2018-10-05 | 1 | -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 spec | Anthony Ramine | 2018-10-05 | 1 | -8/+7 | |
| | | | | The arguments are supposed to be long values, not floats. | |||||
* | Move canvas.putImageData checks to the DOM side | Anthony Ramine | 2018-10-05 | 1 | -46/+1 | |
| | ||||||
* | Make HTMLCanvasElement::get_size return a Size2D<u32> | Anthony Ramine | 2018-10-02 | 1 | -6/+8 | |
| | | | | The changes keep trickling down. | |||||
* | Clean up ToAzurePattern for FillOrStrokeStyle | Anthony Ramine | 2018-10-02 | 1 | -18/+21 | |
| | ||||||
* | Remove Canvas2dMsg::DrawImageSelf | Anthony Ramine | 2018-09-17 | 1 | -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_pixels | Anthony Ramine | 2018-09-17 | 1 | -2/+4 | |
| | ||||||
* | Update azure | Anthony Ramine | 2018-09-16 | 1 | -39/+40 | |
| | | | | https://github.com/servo/rust-azure/pull/293 | |||||
* | Avoid a byte swap roundtrip | Anthony Ramine | 2018-09-14 | 1 | -3/+1 | |
| | ||||||
* | Use a byte channel to retrieve pixels of 2D canvas | Anthony Ramine | 2018-09-13 | 1 | -3/+3 | |
| | ||||||
* | Merge byte swap and unmultiplying loops in ctx.getImageData() | Anthony Ramine | 2018-09-13 | 1 | -5/+1 | |
| | ||||||
* | Update euclid to 0.18 | Bastien Orivel | 2018-07-18 | 1 | -1/+1 | |
| | ||||||
* | Update WR (transaction API change) | Glenn Watson | 2018-06-20 | 1 | -17/+10 | |
| |