Skip to content

Commit

Permalink
Dedupe dwrote
Browse files Browse the repository at this point in the history
  • Loading branch information
atouchet committed May 13, 2020
1 parent bdfa6b0 commit bfa1e08
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 49 deletions.
57 changes: 29 additions & 28 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 14 additions & 15 deletions components/canvas/Cargo.toml
Expand Up @@ -11,18 +11,17 @@ name = "canvas"
path = "lib.rs"

[features]
webgl_backtrace = ["canvas_traits/webgl_backtrace"]
no-wgl = ["surfman/sm-no-wgl"]
webgl_backtrace = ["canvas_traits/webgl_backtrace"]
xr-profile = ["webxr-api/profile", "time"]


[dependencies]
bitflags = "1.0"
byteorder = "1"
canvas_traits = {path = "../canvas_traits"}
canvas_traits = { path = "../canvas_traits" }
crossbeam-channel = "0.4"
cssparser = "0.27"
embedder_traits = {path = "../embedder_traits"}
embedder_traits = { path = "../embedder_traits" }
euclid = "0.20"
fnv = "1.0"
gleam = "0.11"
Expand All @@ -31,17 +30,17 @@ ipc-channel = "0.14"
log = "0.4"
lyon_geom = "0.14"
num-traits = "0.2"
raqote = {git = "https://github.com/jrmuizel/raqote"}
time = { version = "0.1.0", optional = true }
pixels = {path = "../pixels"}
servo_config = {path = "../config"}
pixels = { path = "../pixels" }
raqote = { git = "https://github.com/jrmuizel/raqote" }
servo_config = { path = "../config" }
sparkle = "0.1.24"
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"]}
# NOTE: the sm-angle feature only enables angle on windows, not other platforms!
surfman = { version = "0.2", features = ["sm-angle","sm-angle-default"] }
# 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-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"] }
8 changes: 4 additions & 4 deletions components/canvas_traits/Cargo.toml
Expand Up @@ -22,11 +22,11 @@ ipc-channel = "0.14"
lazy_static = "1"
malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1"
pixels = {path = "../pixels"}
pixels = { path = "../pixels" }
serde = "1.0"
serde_bytes = "0.11"
servo_config = {path = "../config"}
servo_config = { path = "../config" }
sparkle = "0.1"
time = { version = "0.1.0", optional = true }
webrender_api = {git = "https://github.com/servo/webrender"}
webxr-api = {git = "https://github.com/servo/webxr", features = ["ipc"]}
webrender_api = { git = "https://github.com/servo/webrender" }
webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }
3 changes: 1 addition & 2 deletions servo-tidy.toml
Expand Up @@ -30,11 +30,10 @@ packages = [
"arrayvec",
"base64",
"cocoa",
"dwrote",
"gleam",
"libloading",
"peek-poke",
"peek-poke-derive",
"libloading",
"wayland-sys",

# https://github.com/servo/servo/pull/23288#issuecomment-494687746
Expand Down

0 comments on commit bfa1e08

Please sign in to comment.