mirror of
https://github.com/servo/servo.git
synced 2025-08-22 13:55:34 +01:00
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>
This commit is contained in:
parent
80a7de8c9c
commit
309485d2db
32 changed files with 123 additions and 154 deletions
22
Cargo.lock
generated
22
Cargo.lock
generated
|
@ -805,7 +805,6 @@ dependencies = [
|
|||
"range",
|
||||
"raqote",
|
||||
"servo_arc",
|
||||
"snapshot",
|
||||
"stylo",
|
||||
"unicode-script",
|
||||
"webrender_api",
|
||||
|
@ -826,7 +825,6 @@ dependencies = [
|
|||
"serde_bytes",
|
||||
"servo_config",
|
||||
"servo_malloc_size_of",
|
||||
"snapshot",
|
||||
"stylo",
|
||||
"webrender_api",
|
||||
"webxr-api",
|
||||
|
@ -1215,11 +1213,11 @@ dependencies = [
|
|||
"log",
|
||||
"malloc_size_of_derive",
|
||||
"net_traits",
|
||||
"pixels",
|
||||
"profile_traits",
|
||||
"serde",
|
||||
"servo_malloc_size_of",
|
||||
"servo_url",
|
||||
"snapshot",
|
||||
"strum",
|
||||
"strum_macros",
|
||||
"uuid",
|
||||
|
@ -6650,7 +6648,6 @@ dependencies = [
|
|||
"servo_rand",
|
||||
"servo_url",
|
||||
"smallvec",
|
||||
"snapshot",
|
||||
"strum",
|
||||
"strum_macros",
|
||||
"stylo",
|
||||
|
@ -7426,18 +7423,6 @@ dependencies = [
|
|||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "snapshot"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"euclid",
|
||||
"ipc-channel",
|
||||
"malloc_size_of_derive",
|
||||
"pixels",
|
||||
"serde",
|
||||
"servo_malloc_size_of",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "socket2"
|
||||
version = "0.5.10"
|
||||
|
@ -8987,7 +8972,6 @@ dependencies = [
|
|||
"itertools 0.14.0",
|
||||
"log",
|
||||
"pixels",
|
||||
"snapshot",
|
||||
"surfman",
|
||||
"webrender",
|
||||
"webrender_api",
|
||||
|
@ -9005,9 +8989,9 @@ dependencies = [
|
|||
"euclid",
|
||||
"ipc-channel",
|
||||
"log",
|
||||
"pixels",
|
||||
"serde",
|
||||
"servo_config",
|
||||
"snapshot",
|
||||
"webgpu_traits",
|
||||
"webrender",
|
||||
"webrender_api",
|
||||
|
@ -9022,9 +9006,9 @@ dependencies = [
|
|||
"arrayvec",
|
||||
"base",
|
||||
"ipc-channel",
|
||||
"pixels",
|
||||
"serde",
|
||||
"servo_malloc_size_of",
|
||||
"snapshot",
|
||||
"webrender_api",
|
||||
"wgpu-core",
|
||||
"wgpu-types",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue