servo/components/canvas
Martin Robinson 309485d2db
pixels: Move Snapshot and related data structures to pixels (#37590)
1. The `shared` directory is for the "_traits" crates, which will likely
   be moved out of this directly at some point and renamed "_api". These
   crates expose the API of crates to avoid circular dependencies.
   `Snapshot` isn't really this.
2. `Snapshot` is essentially a specialied kind of `Image` so it makes
   sense that it is grouped with other image-related things in `pixels`.

Testing: This should not change any behavior so is covered by existing
tests.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-06-20 14:47:06 +00:00
..
backend.rs canvas: Use Cow<[u8]> for bytes() getter (#37249) 2025-06-04 15:16:28 +00:00
canvas_data.rs pixels: Move Snapshot and related data structures to pixels (#37590) 2025-06-20 14:47:06 +00:00
canvas_paint_thread.rs pixels: Move Snapshot and related data structures to pixels (#37590) 2025-06-20 14:47:06 +00:00
Cargo.toml pixels: Move Snapshot and related data structures to pixels (#37590) 2025-06-20 14:47:06 +00:00
lib.rs Use backend trait with associated types for 2d canvas backends abstraction (#36783) 2025-05-01 04:16:23 +00:00
raqote_backend.rs canvas: ensure there is a subpath in PathBuilderRef (#37251) 2025-06-05 02:47:37 +00:00