From 2fceb6e0091f52fe95e3020c8677f2c0dbb74439 Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Wed, 5 Apr 2017 10:50:06 +1000 Subject: [PATCH] Update WR (more border fast paths, clip interface changes). --- Cargo.lock | 4 ++-- components/layout/webrender_helpers.rs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d28d1a0a49d..45ce84d2f70 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3146,7 +3146,7 @@ dependencies = [ [[package]] name = "webrender" version = "0.30.0" -source = "git+https://github.com/servo/webrender#7e74c1018d47cf5586f05c409c17a25c76f28e56" +source = "git+https://github.com/servo/webrender#ba14e0b619477628d3dbb7384b2cb19b3b88a6c5" dependencies = [ "app_units 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 1.0.0-alpha6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3174,7 +3174,7 @@ dependencies = [ [[package]] name = "webrender_traits" version = "0.31.0" -source = "git+https://github.com/servo/webrender#7e74c1018d47cf5586f05c409c17a25c76f28e56" +source = "git+https://github.com/servo/webrender#ba14e0b619477628d3dbb7384b2cb19b3b88a6c5" dependencies = [ "app_units 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/components/layout/webrender_helpers.rs b/components/layout/webrender_helpers.rs index 355c5ebb7fc..dbbf3f68b79 100644 --- a/components/layout/webrender_helpers.rs +++ b/components/layout/webrender_helpers.rs @@ -414,6 +414,7 @@ impl WebRenderDisplayItemConverter for DisplayItem { stacking_context.bounds.to_rectf(), stacking_context.z_index, transform, + webrender_traits::TransformStyle::Flat, perspective, stacking_context.blend_mode.to_blend_mode(), stacking_context.filters.to_filter_ops());