Deal with changes to the WebRender API

The WebRender display list is now similar to the Servo display list,
which simplifies the conversion.
This commit is contained in:
Martin Robinson 2016-11-08 15:47:08 +01:00
parent 65dd6d4340
commit e164e87e98
4 changed files with 115 additions and 241 deletions

44
ports/cef/Cargo.lock generated
View file

@ -248,7 +248,7 @@ dependencies = [
"offscreen_gl_context 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
"plugins 0.0.1",
"util 0.0.1",
"webrender_traits 0.8.1 (git+https://github.com/servo/webrender)",
"webrender_traits 0.9.0 (git+https://github.com/servo/webrender)",
]
[[package]]
@ -264,7 +264,7 @@ dependencies = [
"plugins 0.0.1",
"serde 0.8.17 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 0.8.17 (registry+https://github.com/rust-lang/crates.io-index)",
"webrender_traits 0.8.1 (git+https://github.com/servo/webrender)",
"webrender_traits 0.9.0 (git+https://github.com/servo/webrender)",
]
[[package]]
@ -336,8 +336,8 @@ dependencies = [
"time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)",
"url 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"util 0.0.1",
"webrender 0.8.1 (git+https://github.com/servo/webrender)",
"webrender_traits 0.8.1 (git+https://github.com/servo/webrender)",
"webrender 0.9.0 (git+https://github.com/servo/webrender)",
"webrender_traits 0.9.0 (git+https://github.com/servo/webrender)",
]
[[package]]
@ -370,7 +370,7 @@ dependencies = [
"style_traits 0.0.1",
"url 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"util 0.0.1",
"webrender_traits 0.8.1 (git+https://github.com/servo/webrender)",
"webrender_traits 0.9.0 (git+https://github.com/servo/webrender)",
]
[[package]]
@ -799,7 +799,7 @@ dependencies = [
"unicode-script 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"url 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"util 0.0.1",
"webrender_traits 0.8.1 (git+https://github.com/servo/webrender)",
"webrender_traits 0.9.0 (git+https://github.com/servo/webrender)",
"xi-unicode 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
@ -1170,7 +1170,7 @@ dependencies = [
"unicode-script 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"url 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"util 0.0.1",
"webrender_traits 0.8.1 (git+https://github.com/servo/webrender)",
"webrender_traits 0.9.0 (git+https://github.com/servo/webrender)",
]
[[package]]
@ -1204,7 +1204,7 @@ dependencies = [
"style 0.0.1",
"url 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"util 0.0.1",
"webrender_traits 0.8.1 (git+https://github.com/servo/webrender)",
"webrender_traits 0.9.0 (git+https://github.com/servo/webrender)",
]
[[package]]
@ -1218,7 +1218,7 @@ dependencies = [
"profile_traits 0.0.1",
"script_traits 0.0.1",
"url 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"webrender_traits 0.8.1 (git+https://github.com/servo/webrender)",
"webrender_traits 0.9.0 (git+https://github.com/servo/webrender)",
]
[[package]]
@ -1414,7 +1414,7 @@ dependencies = [
"plugins 0.0.1",
"serde 0.8.17 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 0.8.17 (registry+https://github.com/rust-lang/crates.io-index)",
"webrender_traits 0.8.1 (git+https://github.com/servo/webrender)",
"webrender_traits 0.9.0 (git+https://github.com/servo/webrender)",
]
[[package]]
@ -1452,7 +1452,7 @@ dependencies = [
"url 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"util 0.0.1",
"uuid 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"webrender_traits 0.8.1 (git+https://github.com/servo/webrender)",
"webrender_traits 0.9.0 (git+https://github.com/servo/webrender)",
"websocket 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
@ -1489,7 +1489,7 @@ dependencies = [
"url 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"util 0.0.1",
"uuid 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"webrender_traits 0.8.1 (git+https://github.com/servo/webrender)",
"webrender_traits 0.9.0 (git+https://github.com/servo/webrender)",
"websocket 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
@ -1983,7 +1983,7 @@ dependencies = [
"url 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"util 0.0.1",
"uuid 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"webrender_traits 0.8.1 (git+https://github.com/servo/webrender)",
"webrender_traits 0.9.0 (git+https://github.com/servo/webrender)",
"websocket 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)",
"xml5ever 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
@ -2148,8 +2148,8 @@ dependencies = [
"url 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"util 0.0.1",
"webdriver_server 0.0.1",
"webrender 0.8.1 (git+https://github.com/servo/webrender)",
"webrender_traits 0.8.1 (git+https://github.com/servo/webrender)",
"webrender 0.9.0 (git+https://github.com/servo/webrender)",
"webrender_traits 0.9.0 (git+https://github.com/servo/webrender)",
]
[[package]]
@ -2769,8 +2769,8 @@ dependencies = [
[[package]]
name = "webrender"
version = "0.8.1"
source = "git+https://github.com/servo/webrender#0f79d9dc449e324ca8bee0b8f82bc1459ba2dba6"
version = "0.9.0"
source = "git+https://github.com/servo/webrender#087516eab125a16ce150ade696b9de7fcef4980e"
dependencies = [
"app_units 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"bincode 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
@ -2791,13 +2791,13 @@ dependencies = [
"offscreen_gl_context 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
"rayon 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
"time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)",
"webrender_traits 0.8.1 (git+https://github.com/servo/webrender)",
"webrender_traits 0.9.0 (git+https://github.com/servo/webrender)",
]
[[package]]
name = "webrender_traits"
version = "0.8.1"
source = "git+https://github.com/servo/webrender#0f79d9dc449e324ca8bee0b8f82bc1459ba2dba6"
version = "0.9.0"
source = "git+https://github.com/servo/webrender#087516eab125a16ce150ade696b9de7fcef4980e"
dependencies = [
"app_units 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"byteorder 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
@ -3141,8 +3141,8 @@ dependencies = [
"checksum wayland-sys 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)" = "9633f7fe5de56544215f82eaf1b76bf1b584becf7f08b58cbef4c2c7d10e803a"
"checksum wayland-window 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "309b69d3a863c9c21422d889fb7d98cf02f8a2ca054960a49243ce5b67ad884c"
"checksum webdriver 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6d43d9121a4d0313abca5fb621f094791300176cac493ce74ad2cc188bddac29"
"checksum webrender 0.8.1 (git+https://github.com/servo/webrender)" = "<none>"
"checksum webrender_traits 0.8.1 (git+https://github.com/servo/webrender)" = "<none>"
"checksum webrender 0.9.0 (git+https://github.com/servo/webrender)" = "<none>"
"checksum webrender_traits 0.9.0 (git+https://github.com/servo/webrender)" = "<none>"
"checksum websocket 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)" = "bb4a1a6ea5ed0367f32eb3d94dcc58859ef4294b5f75ba983dbf56ac314af45d"
"checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"
"checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc"