Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use surfman for managing GL surfaces
Co-authored-by: Alan Jeffrey <ajeffrey@mozilla.com>
Co-authored-by: Zakor Gyula <gyula.zakor@h-lab.eu>
Co-authored-by: Josh Matthews <josh@joshmatthews.net>
  • Loading branch information
4 people committed Nov 1, 2019
1 parent 48d918d commit a358bca
Show file tree
Hide file tree
Showing 52 changed files with 1,907 additions and 2,173 deletions.
150 changes: 108 additions & 42 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion components/background_hang_monitor/Cargo.toml
Expand Up @@ -25,7 +25,7 @@ crossbeam-channel = "0.3"
lazy_static = "1.0"

[target.'cfg(target_os = "macos")'.dependencies]
mach = "0.2.3"
mach = "0.3"

[target.'cfg(all(target_os = "linux", not(any(target_arch = "arm", target_arch = "aarch64"))))'.dependencies]
nix = "0.14"
Expand Down
9 changes: 6 additions & 3 deletions components/canvas/Cargo.toml
Expand Up @@ -14,10 +14,11 @@ path = "lib.rs"
canvas2d-azure = ["azure"]
canvas2d-raqote = ["raqote"]
webgl_backtrace = ["canvas_traits/webgl_backtrace"]
no_wgl = ["offscreen_gl_context/no_wgl"]
no-wgl = ["surfman/sm-no-wgl"]

[dependencies]
azure = {git = "https://github.com/servo/rust-azure", optional = true}
bitflags = "1.0"
byteorder = "1"
canvas_traits = {path = "../canvas_traits"}
cssparser = "0.27.1"
Expand All @@ -29,12 +30,14 @@ half = "1"
ipc-channel = "0.12"
log = "0.4"
num-traits = "0.2"
offscreen_gl_context = {version = "0.25", features = ["serde", "osmesa"]}
raqote = {git = "https://github.com/jrmuizel/raqote", optional = true}
pixels = {path = "../pixels"}
servo_config = {path = "../config"}
sparkle = "0.1"
sparkle = "0.1.8"
webrender = {git = "https://github.com/servo/webrender"}
webrender_api = {git = "https://github.com/servo/webrender", features = ["ipc"]}
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 = { git = "https://github.com/pcwalton/surfman", features = ["sm-angle", "sm-osmesa"] }
surfman-chains = { git = "https://github.com/asajeffrey/surfman-chains" }

0 comments on commit a358bca

Please sign in to comment.