Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Align canvas.putImageData with spec | Anthony Ramine | 2018-10-05 | 1 | -31/+18 |
| | | | | The arguments are supposed to be long values, not floats. | ||||
* | Move canvas.putImageData checks to the DOM side | Anthony Ramine | 2018-10-05 | 1 | -11/+60 |
| | |||||
* | Make HTMLCanvasElement::get_size return a Size2D<u32> | Anthony Ramine | 2018-10-02 | 1 | -5/+5 |
| | | | | The changes keep trickling down. | ||||
* | Format script component | chansuke | 2018-09-19 | 1 | -310/+408 |
| | |||||
* | Implement proper origin checks for WebGL textures (fixes #21522) | Anthony Ramine | 2018-09-18 | 1 | -2/+1 |
| | |||||
* | Remove Canvas2dMsg::DrawImageSelf | Anthony Ramine | 2018-09-17 | 1 | -19/+7 |
| | | | | | 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 | -46/+58 |
| | | | | | Sometimes, the canvas still has no rendering context, in this case it represents a transparent black rectangle. | ||||
* | Update CanvasRenderingContext2D WebIDL definition | Anthony Ramine | 2018-09-14 | 1 | -13/+0 |
| | | | | CanvasImageSource was never supposed to include CanvasRenderingContext2D. | ||||
* | Use a byte channel to retrieve pixels of 2D canvas | Anthony Ramine | 2018-09-13 | 1 | -5/+5 |
| | |||||
* | Merge byte swap and unmultiplying loops in ctx.getImageData() | Anthony Ramine | 2018-09-13 | 1 | -5/+5 |
| | |||||
* | Moved Canvas rendering to a single thread. | Brody-Eastwood | 2018-04-23 | 1 | -11/+10 |
| | |||||
* | Add unique canvas IDs to all canvas operations. | Brody Eastwood | 2018-04-02 | 1 | -122/+92 |
| | |||||
* | Use ByteBuf for the canvas messages | Anthony Ramine | 2018-03-26 | 1 | -13/+15 |
| | | | | | The type Vec<u8> is super unefficient to work with in Serde if all you want to represent is a simple blob. | ||||
* | Implements profiler for blocked recv | Nakul Jindal | 2018-03-22 | 1 | -5/+6 |
| | |||||
* | Avoid `Window::GetComputedStyle` when checking for `display: none` | Alex Fong | 2018-02-26 | 1 | -13/+5 |
| | |||||
* | Revert "Send IPC receiver for canvas as part of CreateCanvasPaintThread message" | Josh Matthews | 2017-12-18 | 1 | -2/+3 |
| | | | | This reverts commit a504c9358b70fcf02bd8f2067fcbd17d16c89439. | ||||
* | Send IPC receiver for canvas as part of CreateCanvasPaintThread message | tigercosmos | 2017-12-16 | 1 | -3/+2 |
| | |||||
* | use entry global's origin in `is_origin_clean` check for canvas rendering | tigercosmos | 2017-12-05 | 1 | -7/+2 |
| | |||||
* | Replace all uses of the `heapsize` crate with `malloc_size_of`. | Nicholas Nethercote | 2017-10-18 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Servo currently uses `heapsize`, but Stylo/Gecko use `malloc_size_of`. `malloc_size_of` is better -- it handles various cases that `heapsize` does not -- so this patch changes Servo to use `malloc_size_of`. This patch makes the following changes to the `malloc_size_of` crate. - Adds `MallocSizeOf` trait implementations for numerous types, some built-in (e.g. `VecDeque`), some external and Servo-only (e.g. `string_cache`). - Makes `enclosing_size_of_op` optional, because vanilla jemalloc doesn't support that operation. - For `HashSet`/`HashMap`, falls back to a computed estimate when `enclosing_size_of_op` isn't available. - Adds an extern "C" `malloc_size_of` function that does the actual heap measurement; this is based on the same functions from the `heapsize` crate. This patch makes the following changes elsewhere. - Converts all the uses of `heapsize` to instead use `malloc_size_of`. - Disables the "heapsize"/"heap_size" feature for the external crates that provide it. - Removes the `HeapSizeOf` implementation from `hashglobe`. - Adds `ignore` annotations to a few `Rc`/`Arc`, because `malloc_size_of` doesn't derive those types, unlike `heapsize`. |