Bug 1508766 - Update webrender to commit 229436b578701fc74a009d6cedc6b2a3ae313f77 (WR PR #3331). r=kats

Differential Revision: https://phabricator.services.mozilla.com/D12534

--HG--
extra : moz-landing-system : lando
This commit is contained in:
WR Updater Bot 2018-11-21 12:29:04 +00:00
parent a4ce56f2b6
commit a9f889232c
2 changed files with 8 additions and 4 deletions

View file

@ -191,8 +191,12 @@ impl SpatialNode {
true
}
pub fn mark_uninvertible(&mut self) {
pub fn mark_uninvertible(
&mut self,
state: &TransformUpdateState,
) {
self.invertible = false;
self.coordinate_system_id = state.current_coordinate_system_id;
self.world_content_transform = LayoutToWorldFastTransform::identity();
self.world_viewport_transform = LayoutToWorldFastTransform::identity();
}
@ -221,7 +225,7 @@ impl SpatialNode {
// If any of our parents was not rendered, we are not rendered either and can just
// quit here.
if !state.invertible {
self.mark_uninvertible();
self.mark_uninvertible(state);
return;
}
@ -233,7 +237,7 @@ impl SpatialNode {
// translations which should be invertible.
match self.node_type {
SpatialNodeType::ReferenceFrame(info) if !info.invertible => {
self.mark_uninvertible();
self.mark_uninvertible(state);
return;
}
_ => self.invertible = true,

View file

@ -1 +1 @@
6ffc7cfe02f2a914a7d4338510277988643cc441
229436b578701fc74a009d6cedc6b2a3ae313f77