mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Dedupe dwrote
This commit is contained in:
parent
bdfa6b0751
commit
bfa1e08c40
4 changed files with 48 additions and 49 deletions
57
Cargo.lock
generated
57
Cargo.lock
generated
|
@ -1315,17 +1315,6 @@ dependencies = [
|
||||||
"dtoa",
|
"dtoa",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "dwrote"
|
|
||||||
version = "0.9.0"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "0bd1369e02db5e9b842a9b67bce8a2fcc043beafb2ae8a799dd482d46ea1ff0d"
|
|
||||||
dependencies = [
|
|
||||||
"lazy_static",
|
|
||||||
"libc",
|
|
||||||
"winapi",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "dwrote"
|
name = "dwrote"
|
||||||
version = "0.11.0"
|
version = "0.11.0"
|
||||||
|
@ -1542,23 +1531,24 @@ checksum = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "font-kit"
|
name = "font-kit"
|
||||||
version = "0.5.0"
|
version = "0.7.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "09b6e2b877097ffd0abac6597fea26fccb5ed7eb9da0a4094f11ccc8aba64efb"
|
checksum = "0350420e88ba5f7d732247260d10e45a5cd13514c2fee8621a3f9a4bcba0ad81"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
"bitflags",
|
||||||
"byteorder",
|
"byteorder",
|
||||||
"core-foundation 0.7.0",
|
"core-foundation 0.7.0",
|
||||||
"core-graphics 0.19.0",
|
"core-graphics 0.19.0",
|
||||||
"core-text 15.0.0",
|
"core-text 15.0.0",
|
||||||
"dirs",
|
"dirs",
|
||||||
"dwrote 0.9.0",
|
"dwrote",
|
||||||
"euclid",
|
|
||||||
"float-ord",
|
"float-ord",
|
||||||
"freetype",
|
"freetype",
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
"libc",
|
"libc",
|
||||||
"log",
|
"log",
|
||||||
"lyon_path",
|
"pathfinder_geometry",
|
||||||
|
"pathfinder_simd",
|
||||||
"servo-fontconfig",
|
"servo-fontconfig",
|
||||||
"walkdir",
|
"walkdir",
|
||||||
"winapi",
|
"winapi",
|
||||||
|
@ -1773,7 +1763,7 @@ dependencies = [
|
||||||
"core-foundation 0.7.0",
|
"core-foundation 0.7.0",
|
||||||
"core-graphics 0.19.0",
|
"core-graphics 0.19.0",
|
||||||
"core-text 15.0.0",
|
"core-text 15.0.0",
|
||||||
"dwrote 0.11.0",
|
"dwrote",
|
||||||
"euclid",
|
"euclid",
|
||||||
"fnv",
|
"fnv",
|
||||||
"fontsan",
|
"fontsan",
|
||||||
|
@ -3206,15 +3196,6 @@ dependencies = [
|
||||||
"num-traits",
|
"num-traits",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "lyon_path"
|
|
||||||
version = "0.14.0"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "0bcb57ac24a5428539e2c7c0592766d5933c937d703f430990c669c00de96862"
|
|
||||||
dependencies = [
|
|
||||||
"lyon_geom 0.14.0",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lzw"
|
name = "lzw"
|
||||||
version = "0.10.0"
|
version = "0.10.0"
|
||||||
|
@ -3931,6 +3912,25 @@ dependencies = [
|
||||||
"syn",
|
"syn",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "pathfinder_geometry"
|
||||||
|
version = "0.5.1"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "0b7b7e7b4ea703700ce73ebf128e1450eb69c3a8329199ffbfb9b2a0418e5ad3"
|
||||||
|
dependencies = [
|
||||||
|
"log",
|
||||||
|
"pathfinder_simd",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "pathfinder_simd"
|
||||||
|
version = "0.5.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "b451513912d6b3440e443aa75a73ab22203afedc4a90df8526d008c0f86f7cb3"
|
||||||
|
dependencies = [
|
||||||
|
"rustc_version",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "peek-poke"
|
name = "peek-poke"
|
||||||
version = "0.2.0"
|
version = "0.2.0"
|
||||||
|
@ -4300,11 +4300,12 @@ checksum = "dd5927936723a9e8b715d37d7e4b390455087c4bdf25b9f702309460577b14f9"
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "raqote"
|
name = "raqote"
|
||||||
version = "0.7.15-alpha.0"
|
version = "0.7.15-alpha.0"
|
||||||
source = "git+https://github.com/jrmuizel/raqote#357934688fd31056cb243a9304d74f022ed3069f"
|
source = "git+https://github.com/jrmuizel/raqote#517cce640eb392fb9a40efd2bb10b09b06e29756"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"euclid",
|
"euclid",
|
||||||
"font-kit",
|
"font-kit",
|
||||||
"lyon_geom 0.15.0",
|
"lyon_geom 0.15.0",
|
||||||
|
"pathfinder_geometry",
|
||||||
"png",
|
"png",
|
||||||
"sw-composite",
|
"sw-composite",
|
||||||
"typed-arena",
|
"typed-arena",
|
||||||
|
@ -6393,7 +6394,7 @@ dependencies = [
|
||||||
"core-graphics 0.19.0",
|
"core-graphics 0.19.0",
|
||||||
"core-text 15.0.0",
|
"core-text 15.0.0",
|
||||||
"cstr",
|
"cstr",
|
||||||
"dwrote 0.11.0",
|
"dwrote",
|
||||||
"euclid",
|
"euclid",
|
||||||
"freetype",
|
"freetype",
|
||||||
"fxhash",
|
"fxhash",
|
||||||
|
|
|
@ -11,18 +11,17 @@ name = "canvas"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
webgl_backtrace = ["canvas_traits/webgl_backtrace"]
|
|
||||||
no-wgl = ["surfman/sm-no-wgl"]
|
no-wgl = ["surfman/sm-no-wgl"]
|
||||||
|
webgl_backtrace = ["canvas_traits/webgl_backtrace"]
|
||||||
xr-profile = ["webxr-api/profile", "time"]
|
xr-profile = ["webxr-api/profile", "time"]
|
||||||
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bitflags = "1.0"
|
bitflags = "1.0"
|
||||||
byteorder = "1"
|
byteorder = "1"
|
||||||
canvas_traits = {path = "../canvas_traits"}
|
canvas_traits = { path = "../canvas_traits" }
|
||||||
crossbeam-channel = "0.4"
|
crossbeam-channel = "0.4"
|
||||||
cssparser = "0.27"
|
cssparser = "0.27"
|
||||||
embedder_traits = {path = "../embedder_traits"}
|
embedder_traits = { path = "../embedder_traits" }
|
||||||
euclid = "0.20"
|
euclid = "0.20"
|
||||||
fnv = "1.0"
|
fnv = "1.0"
|
||||||
gleam = "0.11"
|
gleam = "0.11"
|
||||||
|
@ -31,17 +30,17 @@ ipc-channel = "0.14"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
lyon_geom = "0.14"
|
lyon_geom = "0.14"
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
raqote = {git = "https://github.com/jrmuizel/raqote"}
|
pixels = { path = "../pixels" }
|
||||||
time = { version = "0.1.0", optional = true }
|
raqote = { git = "https://github.com/jrmuizel/raqote" }
|
||||||
pixels = {path = "../pixels"}
|
servo_config = { path = "../config" }
|
||||||
servo_config = {path = "../config"}
|
|
||||||
sparkle = "0.1.24"
|
sparkle = "0.1.24"
|
||||||
webrender = {git = "https://github.com/servo/webrender"}
|
# NOTE: the sm-angle feature only enables ANGLE on Windows, not other platforms!
|
||||||
webrender_api = {git = "https://github.com/servo/webrender"}
|
surfman = { version = "0.2", features = ["sm-angle", "sm-angle-default"] }
|
||||||
webrender_surfman = {path = "../webrender_surfman"}
|
|
||||||
webrender_traits = {path = "../webrender_traits"}
|
|
||||||
webxr-api = {git = "https://github.com/servo/webxr", features = ["ipc"]}
|
|
||||||
# NOTE: the sm-angle feature only enables angle on windows, not other platforms!
|
|
||||||
surfman = { version = "0.2", features = ["sm-angle","sm-angle-default"] }
|
|
||||||
surfman-chains = "0.3"
|
surfman-chains = "0.3"
|
||||||
surfman-chains-api = "0.2"
|
surfman-chains-api = "0.2"
|
||||||
|
time = { version = "0.1.0", optional = true }
|
||||||
|
webrender = { git = "https://github.com/servo/webrender" }
|
||||||
|
webrender_api = { git = "https://github.com/servo/webrender" }
|
||||||
|
webrender_surfman = { path = "../webrender_surfman" }
|
||||||
|
webrender_traits = { path = "../webrender_traits" }
|
||||||
|
webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }
|
||||||
|
|
|
@ -22,11 +22,11 @@ ipc-channel = "0.14"
|
||||||
lazy_static = "1"
|
lazy_static = "1"
|
||||||
malloc_size_of = { path = "../malloc_size_of" }
|
malloc_size_of = { path = "../malloc_size_of" }
|
||||||
malloc_size_of_derive = "0.1"
|
malloc_size_of_derive = "0.1"
|
||||||
pixels = {path = "../pixels"}
|
pixels = { path = "../pixels" }
|
||||||
serde = "1.0"
|
serde = "1.0"
|
||||||
serde_bytes = "0.11"
|
serde_bytes = "0.11"
|
||||||
servo_config = {path = "../config"}
|
servo_config = { path = "../config" }
|
||||||
sparkle = "0.1"
|
sparkle = "0.1"
|
||||||
time = { version = "0.1.0", optional = true }
|
time = { version = "0.1.0", optional = true }
|
||||||
webrender_api = {git = "https://github.com/servo/webrender"}
|
webrender_api = { git = "https://github.com/servo/webrender" }
|
||||||
webxr-api = {git = "https://github.com/servo/webxr", features = ["ipc"]}
|
webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }
|
||||||
|
|
|
@ -30,11 +30,10 @@ packages = [
|
||||||
"arrayvec",
|
"arrayvec",
|
||||||
"base64",
|
"base64",
|
||||||
"cocoa",
|
"cocoa",
|
||||||
"dwrote",
|
|
||||||
"gleam",
|
"gleam",
|
||||||
|
"libloading",
|
||||||
"peek-poke",
|
"peek-poke",
|
||||||
"peek-poke-derive",
|
"peek-poke-derive",
|
||||||
"libloading",
|
|
||||||
"wayland-sys",
|
"wayland-sys",
|
||||||
|
|
||||||
# https://github.com/servo/servo/pull/23288#issuecomment-494687746
|
# https://github.com/servo/servo/pull/23288#issuecomment-494687746
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue