Update WR (mac driver crash, box shadow sharing).

* Works around a driver / kernel crash on some mac machines.
* Allow more sharing of box shadow and clip render tasks.
* Some shader tidy ups.
This commit is contained in:
Glenn Watson 2017-09-01 15:00:48 +10:00
parent f7d238d1f3
commit a62dc9016f
2 changed files with 4 additions and 3 deletions

4
Cargo.lock generated
View file

@ -3540,7 +3540,7 @@ dependencies = [
[[package]] [[package]]
name = "webrender" name = "webrender"
version = "0.50.0" version = "0.50.0"
source = "git+https://github.com/servo/webrender#eee6067ba4c9e3bb0edfe125919eee8163ba1de5" source = "git+https://github.com/servo/webrender#e7c60ad67ca9c0732be18c3df25b686f12d652ca"
dependencies = [ dependencies = [
"app_units 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", "app_units 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
"bincode 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
@ -3568,7 +3568,7 @@ dependencies = [
[[package]] [[package]]
name = "webrender_api" name = "webrender_api"
version = "0.50.0" version = "0.50.0"
source = "git+https://github.com/servo/webrender#eee6067ba4c9e3bb0edfe125919eee8163ba1de5" source = "git+https://github.com/servo/webrender#e7c60ad67ca9c0732be18c3df25b686f12d652ca"
dependencies = [ dependencies = [
"app_units 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", "app_units 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
"bincode 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "bincode 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",

View file

@ -1285,7 +1285,8 @@ impl<Window: WindowMethods> IOCompositor<Window> {
debug!("compositor: compositing"); debug!("compositor: compositing");
// Paint the scene. // Paint the scene.
self.webrender.render(self.frame_size); // TODO(gw): Take notice of any errors the renderer returns!
self.webrender.render(self.frame_size).ok();
}); });
// If there are pending paint metrics, we check if any of the painted epochs is // If there are pending paint metrics, we check if any of the painted epochs is