diff options
author | Glenn Watson <github@intuitionlibrary.com> | 2016-12-13 15:04:39 +1000 |
---|---|---|
committer | Glenn Watson <github@intuitionlibrary.com> | 2016-12-15 12:11:51 +1000 |
commit | f517d03364278178aa15da900ab55369f8a1f2ef (patch) | |
tree | ba9d882a07671242b391634251657fe12e17091b | |
parent | 4eb653817f87e5fb47de34356f558eb76ecbca9f (diff) | |
download | servo-f517d03364278178aa15da900ab55369f8a1f2ef.tar.gz servo-f517d03364278178aa15da900ab55369f8a1f2ef.zip |
Update WR (typed units, glyph cache, various features).
-rw-r--r-- | Cargo.lock | 88 | ||||
-rw-r--r-- | components/canvas/webgl_paint_thread.rs | 6 | ||||
-rw-r--r-- | components/compositing/compositor.rs | 25 | ||||
-rw-r--r-- | components/layout/webrender_helpers.rs | 32 | ||||
-rw-r--r-- | components/layout_thread/lib.rs | 3 | ||||
-rw-r--r-- | components/servo/lib.rs | 3 | ||||
-rw-r--r-- | tests/wpt/metadata-css/css-transitions-1_dev/html/changing-while-transition.htm.ini | 4 | ||||
-rw-r--r-- | tests/wpt/metadata-css/css21_dev/html4/abspos-019.htm.ini | 3 | ||||
-rw-r--r-- | tests/wpt/metadata-css/css21_dev/html4/abspos-020.htm.ini | 3 | ||||
-rw-r--r-- | tests/wpt/metadata/webgl/conformance-1.0.3/conformance/reading/read-pixels-test.html.ini | 4 |
10 files changed, 91 insertions, 80 deletions
diff --git a/Cargo.lock b/Cargo.lock index ae604a4a1d2..bbf757d6936 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3,7 +3,7 @@ name = "webdriver_server" version = "0.0.1" dependencies = [ "cookie 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "hyper 0.9.11 (registry+https://github.com/rust-lang/crates.io-index)", "image 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -100,7 +100,7 @@ dependencies = [ "core-foundation 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "core-graphics 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "core-text 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "freetype 0.1.2 (git+https://github.com/servo/rust-freetype)", "heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize_derive 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -257,8 +257,8 @@ version = "0.0.1" dependencies = [ "azure 0.9.1 (git+https://github.com/servo/rust-azure)", "canvas_traits 0.0.1", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", - "gleam 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.2.29 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", @@ -274,7 +274,7 @@ version = "0.0.1" dependencies = [ "azure 0.9.1 (git+https://github.com/servo/rust-azure)", "cssparser 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize_derive 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -311,7 +311,7 @@ name = "cgl" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "gleam 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.2.29 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -384,9 +384,9 @@ dependencies = [ name = "compositing" version = "0.0.1" dependencies = [ - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "gfx_traits 0.0.1", - "gleam 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.2.29 (registry+https://github.com/rust-lang/crates.io-index)", "image 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -417,7 +417,7 @@ dependencies = [ "compositing 0.0.1", "debugger 0.0.1", "devtools_traits 0.0.1", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "gaol 0.0.1 (git+https://github.com/servo/gaol)", "gfx 0.0.1", "gfx_traits 0.0.1", @@ -644,9 +644,9 @@ dependencies = [ "cocoa 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "compositing 0.0.1", "devtools 0.0.1", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "gfx_traits 0.0.1", - "gleam 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.2.29 (registry+https://github.com/rust-lang/crates.io-index)", "glutin_app 0.0.1", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", "libservo 0.0.1", @@ -780,7 +780,7 @@ dependencies = [ [[package]] name = "euclid" -version = "0.10.2" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -890,7 +890,7 @@ dependencies = [ "app_units 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -919,7 +919,7 @@ dependencies = [ "core-graphics 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "core-text 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "dwrote 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", "fontsan 0.3.2 (git+https://github.com/servo/fontsan)", "freetype 0.1.2 (git+https://github.com/servo/rust-freetype)", @@ -996,7 +996,7 @@ dependencies = [ [[package]] name = "gleam" -version = "0.2.24" +version = "0.2.29" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "gl_generator 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1014,10 +1014,10 @@ version = "0.0.1" dependencies = [ "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "compositing 0.0.1", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "gdi32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "gfx_traits 0.0.1", - "gleam 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.2.29 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "net_traits 0.0.1", @@ -1216,7 +1216,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "cgl 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "core-foundation 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", - "gleam 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.2.29 (registry+https://github.com/rust-lang/crates.io-index)", "leaky-cow 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1298,7 +1298,7 @@ dependencies = [ "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "canvas_traits 0.0.1", "cssparser 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", "gfx 0.0.1", "gfx_traits 0.0.1", @@ -1345,7 +1345,7 @@ name = "layout_thread" version = "0.0.1" dependencies = [ "app_units 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", "gfx 0.0.1", "gfx_traits 0.0.1", @@ -1473,10 +1473,10 @@ dependencies = [ "devtools 0.0.1", "devtools_traits 0.0.1", "env_logger 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "gaol 0.0.1 (git+https://github.com/servo/gaol)", "gfx 0.0.1", - "gleam 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.2.29 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "layout 0.0.1", "layout_thread 0.0.1", @@ -1866,10 +1866,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "cgl 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "core-foundation 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "gdi32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "gl_generator 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "gleam 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.2.29 (registry+https://github.com/rust-lang/crates.io-index)", "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2256,7 +2256,7 @@ dependencies = [ "cssparser 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "devtools_traits 0.0.1", "encoding 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", "gfx_traits 0.0.1", "heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2317,7 +2317,7 @@ dependencies = [ "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "canvas_traits 0.0.1", "cssparser 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "gfx_traits 0.0.1", "heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize_derive 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2356,7 +2356,7 @@ dependencies = [ "canvas_traits 0.0.1", "cookie 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", "devtools_traits 0.0.1", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "gfx_traits 0.0.1", "heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize_derive 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2545,9 +2545,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "cgl 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "cmake 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "expat-sys 2.1.4 (registry+https://github.com/rust-lang/crates.io-index)", - "gleam 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.2.29 (registry+https://github.com/rust-lang/crates.io-index)", "glx 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "io-surface 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2572,7 +2572,7 @@ version = "0.0.1" dependencies = [ "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2599,7 +2599,7 @@ name = "servo_geometry" version = "0.0.1" dependencies = [ "app_units 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -2722,7 +2722,7 @@ dependencies = [ "cfg-if 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "encoding 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize_derive 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2766,7 +2766,7 @@ version = "0.0.1" dependencies = [ "app_units 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "html5ever-atoms 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "matches 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "owning_ref 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2786,7 +2786,7 @@ version = "0.0.1" dependencies = [ "app_units 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize_derive 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2801,7 +2801,7 @@ dependencies = [ "app_units 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "cssparser 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "geckoservo 0.0.1", "lazy_static 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3165,7 +3165,7 @@ dependencies = [ [[package]] name = "webrender" version = "0.11.0" -source = "git+https://github.com/servo/webrender#c4a0c01f7a249a5786a5f32922574feb56b370b2" +source = "git+https://github.com/servo/webrender#b2e02df28a6150433d299bac8435b5812d7bba15" 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)", @@ -3175,15 +3175,15 @@ dependencies = [ "core-graphics 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "core-text 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "dwrote 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", "freetype 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "gleam 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.2.29 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", "offscreen_gl_context 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", - "rayon 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", + "threadpool 1.3.2 (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.11.0 (git+https://github.com/servo/webrender)", ] @@ -3191,14 +3191,14 @@ dependencies = [ [[package]] name = "webrender_traits" version = "0.11.0" -source = "git+https://github.com/servo/webrender#c4a0c01f7a249a5786a5f32922574feb56b370b2" +source = "git+https://github.com/servo/webrender#b2e02df28a6150433d299bac8435b5812d7bba15" 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)", "core-graphics 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "dwrote 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", - "gleam 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)", + "euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", + "gleam 0.2.29 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", "ipc-channel 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "offscreen_gl_context 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3373,7 +3373,7 @@ dependencies = [ "checksum energymon-sys 0.2.0 (git+https://github.com/energymon/energymon-sys.git)" = "<none>" "checksum enum_primitive 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f79eff5be92a4d7d5bddf7daa7d650717ea71628634efe6ca7bcda85b2183c23" "checksum env_logger 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "82dcb9ceed3868a03b335657b85a159736c961900f7e7747d3b0b97b9ccb5ccb" -"checksum euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)" = "44ef2a3e4a621518e488db36820a12b49a9d5004764b8daf1458bbe5d7c9b626" +"checksum euclid 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)" = "0c274f13773ec277a48408d0c7a8dc935ad4bfe190f4cfccd0126d203afc3c83" "checksum expat-sys 2.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "cef36cd1a8a02d28b91d97347c63247b9e4cb8a8e36df36f8201dc87a1c0859c" "checksum flate2 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)" = "3eeb481e957304178d2e782f2da1257f1434dfecbae883bafb61ada2a9fea3bb" "checksum fnv 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6cc484842f1e2884faf56f529f960cc12ad8c71ce96cc7abba0a067c98fee344" @@ -3388,7 +3388,7 @@ dependencies = [ "checksum getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)" = "d9047cfbd08a437050b363d35ef160452c5fe8ea5187ae0a624708c91581d685" "checksum gif 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "01c7c19a035de94bd7afbaa62c241aadfbdf1a70f560b348d2312eafa566ca16" "checksum gl_generator 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f1d8edc81c5ae84605a62f5dac661a2313003b26d59839f81d47d46cf0f16a55" -"checksum gleam 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)" = "b04d6c8a1df841e48dfe99ed67829c9d1d17b1bb3e44c5f3283992010e20359b" +"checksum gleam 0.2.29 (registry+https://github.com/rust-lang/crates.io-index)" = "1b83402229bde9d923f0b92811be017f9df5946ee86f8647367b1e02bcf5c293" "checksum glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "8be18de09a56b60ed0edf84bc9df007e30040691af7acd1c41874faac5895bfb" "checksum glx 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "b280007fa9c7442cfd1e0b1addb8d1a59240267110e8705f8f7e2c7bfb7e2f72" "checksum harfbuzz-sys 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "6b76113246f5c089dcf272cf89c3f61168a4d77b50ec5b2c1fab8c628c9ea762" diff --git a/components/canvas/webgl_paint_thread.rs b/components/canvas/webgl_paint_thread.rs index 09287d7eb67..7de4fd67979 100644 --- a/components/canvas/webgl_paint_thread.rs +++ b/components/canvas/webgl_paint_thread.rs @@ -116,7 +116,8 @@ impl WebGLPaintThread { webrender_api_sender: webrender_traits::RenderApiSender) -> Result<(WebGLPaintThread, GLLimits), String> { let wr_api = webrender_api_sender.create_api(); - match wr_api.request_webgl_context(&size, attrs) { + let device_size = webrender_traits::DeviceIntSize::from_untyped(&size); + match wr_api.request_webgl_context(&device_size, attrs) { Ok((id, limits)) => { let painter = WebGLPaintThread { data: WebGLPaintTaskData::WebRender(wr_api, id), @@ -252,7 +253,8 @@ impl WebGLPaintThread { } } WebGLPaintTaskData::WebRender(ref api, id) => { - api.resize_webgl_context(id, &size); + let device_size = webrender_traits::DeviceIntSize::from_untyped(&size); + api.resize_webgl_context(id, &device_size); } } diff --git a/components/compositing/compositor.rs b/components/compositing/compositor.rs index f3627937ba9..6c734ac97cb 100644 --- a/components/compositing/compositor.rs +++ b/components/compositing/compositor.rs @@ -7,7 +7,7 @@ use SendableFrameTree; use compositor_thread::{CompositorProxy, CompositorReceiver}; use compositor_thread::{InitialCompositorState, Msg, RenderListener}; use delayed_composition::DelayedCompositionTimerProxy; -use euclid::{Point2D, Size2D}; +use euclid::Point2D; use euclid::point::TypedPoint2D; use euclid::scale_factor::ScaleFactor; use euclid::size::TypedSize2D; @@ -40,7 +40,7 @@ use style_traits::viewport::ViewportConstraints; use time::{precise_time_ns, precise_time_s}; use touch::{TouchHandler, TouchAction}; use webrender; -use webrender_traits::{self, ScrollEventPhase, ServoScrollRootId}; +use webrender_traits::{self, ScrollEventPhase, ServoScrollRootId, LayoutPoint}; use windowing::{self, MouseWindowEvent, WindowEvent, WindowMethods, WindowNavigateMsg}; #[derive(Debug, PartialEq)] @@ -336,11 +336,11 @@ impl webrender_traits::RenderNotifier for RenderNotifier { fn pipeline_size_changed(&mut self, pipeline_id: webrender_traits::PipelineId, - size: Option<Size2D<f32>>) { + size: Option<webrender_traits::LayoutSize>) { let pipeline_id = pipeline_id.from_webrender(); if let Some(size) = size { - let msg = ConstellationMsg::FrameSize(pipeline_id, size); + let msg = ConstellationMsg::FrameSize(pipeline_id, size.to_untyped()); if let Err(e) = self.constellation_chan.send(msg) { warn!("Compositor resize to constellation failed ({}).", e); } @@ -773,7 +773,7 @@ impl<Window: WindowMethods> IOCompositor<Window> { scroll_root_id: ScrollRootId, point: Point2D<f32>) { self.webrender_api.scroll_layers_with_scroll_root_id( - point, + LayoutPoint::from_untyped(&point), pipeline_id.to_webrender(), ServoScrollRootId(scroll_root_id.0)); } @@ -1134,7 +1134,10 @@ impl<Window: WindowMethods> IOCompositor<Window> { let delta = (combined_event.delta / self.scale).to_untyped(); let cursor = (combined_event.cursor.to_f32() / self.scale).to_untyped(); - self.webrender_api.scroll(delta, cursor, combined_event.phase); + let delta = webrender_traits::LayerPoint::from_untyped(&delta); + let location = webrender_traits::ScrollLocation::Delta(delta); + let cursor = webrender_traits::WorldPoint::from_untyped(&cursor); + self.webrender_api.scroll(location, cursor, combined_event.phase); last_combined_event = None } } @@ -1174,8 +1177,11 @@ impl<Window: WindowMethods> IOCompositor<Window> { // TODO(gw): Support zoom (WR issue #28). if let Some(combined_event) = last_combined_event { let delta = (combined_event.delta / self.scale).to_untyped(); + let delta = webrender_traits::LayoutPoint::from_untyped(&delta); let cursor = (combined_event.cursor.to_f32() / self.scale).to_untyped(); - self.webrender_api.scroll(delta, cursor, combined_event.phase); + let location = webrender_traits::ScrollLocation::Delta(delta); + let cursor = webrender_traits::WorldPoint::from_untyped(&cursor); + self.webrender_api.scroll(location, cursor, combined_event.phase); self.waiting_for_results_of_scroll = true } @@ -1316,7 +1322,7 @@ impl<Window: WindowMethods> IOCompositor<Window> { for scroll_layer_state in self.webrender_api.get_scroll_layer_state() { let stacking_context_scroll_state = StackingContextScrollState { scroll_root_id: scroll_layer_state.scroll_root_id.from_webrender(), - scroll_offset: scroll_layer_state.scroll_offset, + scroll_offset: scroll_layer_state.scroll_offset.to_untyped(), }; let pipeline_id = scroll_layer_state.pipeline_id; stacking_context_scroll_states_per_pipeline @@ -1464,7 +1470,8 @@ impl<Window: WindowMethods> IOCompositor<Window> { debug!("compositor: compositing"); // Paint the scene. - self.webrender.render(self.window_size.to_untyped()); + let size = webrender_traits::DeviceUintSize::from_untyped(&self.window_size.to_untyped()); + self.webrender.render(size); }); let rv = match target { diff --git a/components/layout/webrender_helpers.rs b/components/layout/webrender_helpers.rs index 69d3de29e72..0887e7d4b0c 100644 --- a/components/layout/webrender_helpers.rs +++ b/components/layout/webrender_helpers.rs @@ -16,7 +16,7 @@ use msg::constellation_msg::PipelineId; use style::computed_values::{image_rendering, mix_blend_mode}; use style::computed_values::filter::{self, Filter}; use style::values::computed::BorderStyle; -use webrender_traits::{self, DisplayListBuilder}; +use webrender_traits::{self, DisplayListBuilder, LayoutTransform}; pub trait WebRenderDisplayListConverter { fn convert_to_webrender(&self, pipeline_id: PipelineId) -> DisplayListBuilder; @@ -61,36 +61,38 @@ impl ToBoxShadowClipMode for BoxShadowClipMode { } trait ToSizeF { - fn to_sizef(&self) -> Size2D<f32>; + fn to_sizef(&self) -> webrender_traits::LayoutSize; } trait ToPointF { - fn to_pointf(&self) -> Point2D<f32>; + fn to_pointf(&self) -> webrender_traits::LayoutPoint; } impl ToPointF for Point2D<Au> { - fn to_pointf(&self) -> Point2D<f32> { - Point2D::new(self.x.to_f32_px(), self.y.to_f32_px()) + fn to_pointf(&self) -> webrender_traits::LayoutPoint { + webrender_traits::LayoutPoint::new(self.x.to_f32_px(), self.y.to_f32_px()) } } impl ToSizeF for Size2D<Au> { - fn to_sizef(&self) -> Size2D<f32> { - Size2D::new(self.width.to_f32_px(), self.height.to_f32_px()) + fn to_sizef(&self) -> webrender_traits::LayoutSize { + webrender_traits::LayoutSize::new(self.width.to_f32_px(), self.height.to_f32_px()) } } trait ToRectF { - fn to_rectf(&self) -> Rect<f32>; + fn to_rectf(&self) -> webrender_traits::LayoutRect; } impl ToRectF for Rect<Au> { - fn to_rectf(&self) -> Rect<f32> { + fn to_rectf(&self) -> webrender_traits::LayoutRect { let x = self.origin.x.to_f32_px(); let y = self.origin.y.to_f32_px(); let w = self.size.width.to_f32_px(); let h = self.size.height.to_f32_px(); - Rect::new(Point2D::new(x, y), Size2D::new(w, h)) + let point = webrender_traits::LayoutPoint::new(x, y); + let size = webrender_traits::LayoutSize::new(w, h); + webrender_traits::LayoutRect::new(point, size) } } @@ -340,12 +342,16 @@ impl WebRenderDisplayItemConverter for DisplayItem { ScrollPolicy::FixedPosition => webrender_traits::ScrollPolicy::Fixed, }; + let clip = builder.new_clip_region(&stacking_context.overflow.to_rectf(), + vec![], + None); + builder.push_stacking_context(webrender_scroll_policy, stacking_context.bounds.to_rectf(), - stacking_context.overflow.to_rectf(), + clip, stacking_context.z_index, - &stacking_context.transform, - &stacking_context.perspective, + &LayoutTransform::from_untyped(&stacking_context.transform), + &LayoutTransform::from_untyped(&stacking_context.perspective), stacking_context.blend_mode.to_blend_mode(), stacking_context.filters.to_filter_ops()); } diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs index f44207cb367..20ef9ff6cb4 100644 --- a/components/layout_thread/lib.rs +++ b/components/layout_thread/lib.rs @@ -961,8 +961,9 @@ impl LayoutThread { self.epoch.next(); let Epoch(epoch_number) = self.epoch; + let viewport_size = webrender_traits::LayoutSize::from_untyped(&viewport_size); self.webrender_api.set_root_display_list( - get_root_flow_background_color(layout_root), + Some(get_root_flow_background_color(layout_root)), webrender_traits::Epoch(epoch_number), viewport_size, builder); diff --git a/components/servo/lib.rs b/components/servo/lib.rs index 319bdbb186c..c9cc02b7c0a 100644 --- a/components/servo/lib.rs +++ b/components/servo/lib.rs @@ -172,6 +172,9 @@ impl<Window> Browser<Window> where Window: WindowMethods + 'static { enable_scrollbars: opts.output_file.is_none(), renderer_kind: renderer_kind, enable_subpixel_aa: opts.enable_subpixel_text_antialiasing, + clear_empty_tiles: true, + clear_framebuffer: true, + clear_color: webrender_traits::ColorF::new(1.0, 1.0, 1.0, 1.0), }) }; diff --git a/tests/wpt/metadata-css/css-transitions-1_dev/html/changing-while-transition.htm.ini b/tests/wpt/metadata-css/css-transitions-1_dev/html/changing-while-transition.htm.ini index 4e9f379b7f9..cf6048d1988 100644 --- a/tests/wpt/metadata-css/css-transitions-1_dev/html/changing-while-transition.htm.ini +++ b/tests/wpt/metadata-css/css-transitions-1_dev/html/changing-while-transition.htm.ini @@ -2,7 +2,3 @@ type: testharness [changing transition-property / values] expected: FAIL - - [changing transition-duration / values] - expected: FAIL - diff --git a/tests/wpt/metadata-css/css21_dev/html4/abspos-019.htm.ini b/tests/wpt/metadata-css/css21_dev/html4/abspos-019.htm.ini deleted file mode 100644 index e899657cbfd..00000000000 --- a/tests/wpt/metadata-css/css21_dev/html4/abspos-019.htm.ini +++ /dev/null @@ -1,3 +0,0 @@ -[abspos-019.htm] - type: reftest - expected: FAIL diff --git a/tests/wpt/metadata-css/css21_dev/html4/abspos-020.htm.ini b/tests/wpt/metadata-css/css21_dev/html4/abspos-020.htm.ini deleted file mode 100644 index f631c9486f7..00000000000 --- a/tests/wpt/metadata-css/css21_dev/html4/abspos-020.htm.ini +++ /dev/null @@ -1,3 +0,0 @@ -[abspos-020.htm] - type: reftest - expected: FAIL diff --git a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/reading/read-pixels-test.html.ini b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/reading/read-pixels-test.html.ini index b5f47e0e275..78f5aa7b940 100644 --- a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/reading/read-pixels-test.html.ini +++ b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/reading/read-pixels-test.html.ini @@ -1,3 +1,5 @@ [read-pixels-test.html] type: testharness - expected: CRASH + expected: TIMEOUT + bug: https://github.com/servo/servo/issues/14380 + |