Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Addresses issues raised in #24465; removes redundancy in set_bitmap_dimensions | Bailey Blankenship | 2019-11-10 | 1 | -7/+39 |
| | | | | Removed passing test .ini files and moved euclid extensions to euclidext.rs to factor out redundant code | ||||
* | Implement create_gradient_stops() | pylbrecht | 2019-08-29 | 1 | -2/+2 |
| | |||||
* | Upgrade to rustc 1.39.0-nightly (f7af19c27 2019-08-15) | Simon Sapin | 2019-08-23 | 1 | -1/+1 |
| | |||||
* | Implement a few functions to make tests in draw-image and draw-path pass | Bastien Orivel | 2019-08-21 | 1 | -3/+3 |
| | |||||
* | WIP: Fix azure backend | Bastien Orivel | 2019-08-21 | 1 | -1/+1 |
| | |||||
* | Imlplement get_composition_op | Bastien Orivel | 2019-08-21 | 1 | -1/+1 |
| | |||||
* | Set the line cap to butt when drawing a rect with a 0 width/height | Bastien Orivel | 2019-08-21 | 1 | -1/+3 |
| | | | | | Otherwise raqote will draw the cap even though it shouldn't because the spec says so | ||||
* | Implement clear_rect | Bastien Orivel | 2019-08-21 | 1 | -2/+2 |
| | |||||
* | Implement need_to_draw_shadow | Bastien Orivel | 2019-08-21 | 1 | -1/+1 |
| | |||||
* | Implement fill() for raqote::DrawTarget | pylbrecht | 2019-08-21 | 1 | -4/+4 |
| | |||||
* | Deal with fallout from mutable trait method change. | Josh Matthews | 2019-08-21 | 1 | -16/+18 |
| | |||||
* | WIP: Make GenericPathBuilder's methods take &mut self | pylbrecht | 2019-08-21 | 1 | -10/+16 |
| | |||||
* | Make GenericPathBuilder take &mut self | pylbrecht | 2019-08-21 | 1 | -35/+43 |
| | |||||
* | Implement StrokeOptions | pylbrecht | 2019-08-21 | 1 | -1/+1 |
| | |||||
* | 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 |
| |