Skip to content

Commit

Permalink
dependencies: Upgrade to WebRender 0.64
Browse files Browse the repository at this point in the history
This brings the version of WebRender used in Servo up-to-date with Gecko
upstream. The big change here is that HiDPI is no longer handled via
WebRender. Instead this happens via a scale applied to the root layer in
the compositor. In addition to this change, various changes are made to
Servo to adapt to the new WebRender API.
  • Loading branch information
mrobinson committed Mar 4, 2024
1 parent e767702 commit 48637aa
Show file tree
Hide file tree
Showing 27 changed files with 508 additions and 389 deletions.
183 changes: 103 additions & 80 deletions Cargo.lock

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions Cargo.toml
Expand Up @@ -64,7 +64,7 @@ keyboard-types = "0.6"
lazy_static = "1.4"
libc = "0.2"
log = "0.4"
malloc_size_of = { git = "https://github.com/servo/stylo.git", branch = "2023-07-23", features = ["servo"] }
malloc_size_of = { git = "https://github.com/servo/stylo.git", branch = "webrender-upgrade", features = ["servo"] }
malloc_size_of_derive = "0.1"
mime = "0.3.13"
mime_guess = "2.0.3"
Expand All @@ -87,31 +87,31 @@ rustls = { version = "0.21.10", features = ["dangerous_configuration"] }
rustls-pemfile = "1.0.4"
script_layout_interface = { path = "components/shared/script_layout" }
script_traits = { path = "components/shared/script" }
selectors = { git = "https://github.com/servo/stylo.git", branch = "2023-07-23" }
selectors = { git = "https://github.com/servo/stylo.git", branch = "webrender-upgrade" }
serde = "1.0.197"
serde_bytes = "0.11"
serde_json = "1.0"
servo-media = { git = "https://github.com/servo/media" }
servo-media-dummy = { git = "https://github.com/servo/media" }
servo-media-gstreamer = { git = "https://github.com/servo/media" }
servo_arc = { git = "https://github.com/servo/stylo.git", branch = "2023-07-23" }
servo_atoms = { git = "https://github.com/servo/stylo.git", branch = "2023-07-23" }
size_of_test = { git = "https://github.com/servo/stylo.git", branch = "2023-07-23" }
servo_arc = { git = "https://github.com/servo/stylo.git", branch = "webrender-upgrade" }
servo_atoms = { git = "https://github.com/servo/stylo.git", branch = "webrender-upgrade" }
size_of_test = { git = "https://github.com/servo/stylo.git", branch = "webrender-upgrade" }
smallbitvec = "2.3.0"
smallvec = "1.13"
sparkle = "0.1.26"
string_cache = "0.8"
string_cache_codegen = "0.5"
style = { git = "https://github.com/servo/stylo.git", branch = "2023-07-23", features = ["servo"] }
style_config = { git = "https://github.com/servo/stylo.git", branch = "2023-07-23" }
style_traits = { git = "https://github.com/servo/stylo.git", branch = "2023-07-23", features = ["servo"] }
style = { git = "https://github.com/servo/stylo.git", branch = "webrender-upgrade", features = ["servo"] }
style_config = { git = "https://github.com/servo/stylo.git", branch = "webrender-upgrade" }
style_traits = { git = "https://github.com/servo/stylo.git", branch = "webrender-upgrade", features = ["servo"] }
# NOTE: the sm-angle feature only enables ANGLE on Windows, not other platforms!
surfman = { version = "0.9", features = ["chains", "sm-angle", "sm-angle-default"] }
syn = { version = "2", default-features = false, features = ["clone-impls", "derive", "parsing"] }
synstructure = "0.13"
thin-vec = "0.2.13"
time = "0.1.41"
to_shmem = { git = "https://github.com/servo/stylo.git", branch = "2023-07-23" }
to_shmem = { git = "https://github.com/servo/stylo.git", branch = "webrender-upgrade" }
tokio = "1"
tokio-rustls = "0.24"
tungstenite = "0.20"
Expand All @@ -123,8 +123,8 @@ uuid = { version = "1.7.0", features = ["v4"] }
webdriver = "0.49.0"
webpki = "0.22"
webpki-roots = "0.25"
webrender = { git = "https://github.com/servo/webrender", rev = "f91b68a61", features = ["capture"] }
webrender_api = { git = "https://github.com/servo/webrender", rev = "f91b68a61" }
webrender = { git = "https://github.com/servo/webrender", branch = "0.64", features = ["capture"] }
webrender_api = { git = "https://github.com/servo/webrender", branch = "0.64" }
webrender_traits = { path = "components/shared/webrender" }
wgpu-core = "0.18"
wgpu-types = "0.18"
Expand Down

0 comments on commit 48637aa

Please sign in to comment.