forked from mirrors/gecko-dev
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:
parent
a4ce56f2b6
commit
a9f889232c
2 changed files with 8 additions and 4 deletions
|
|
@ -191,8 +191,12 @@ impl SpatialNode {
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn mark_uninvertible(&mut self) {
|
pub fn mark_uninvertible(
|
||||||
|
&mut self,
|
||||||
|
state: &TransformUpdateState,
|
||||||
|
) {
|
||||||
self.invertible = false;
|
self.invertible = false;
|
||||||
|
self.coordinate_system_id = state.current_coordinate_system_id;
|
||||||
self.world_content_transform = LayoutToWorldFastTransform::identity();
|
self.world_content_transform = LayoutToWorldFastTransform::identity();
|
||||||
self.world_viewport_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
|
// If any of our parents was not rendered, we are not rendered either and can just
|
||||||
// quit here.
|
// quit here.
|
||||||
if !state.invertible {
|
if !state.invertible {
|
||||||
self.mark_uninvertible();
|
self.mark_uninvertible(state);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -233,7 +237,7 @@ impl SpatialNode {
|
||||||
// translations which should be invertible.
|
// translations which should be invertible.
|
||||||
match self.node_type {
|
match self.node_type {
|
||||||
SpatialNodeType::ReferenceFrame(info) if !info.invertible => {
|
SpatialNodeType::ReferenceFrame(info) if !info.invertible => {
|
||||||
self.mark_uninvertible();
|
self.mark_uninvertible(state);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_ => self.invertible = true,
|
_ => self.invertible = true,
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
6ffc7cfe02f2a914a7d4338510277988643cc441
|
229436b578701fc74a009d6cedc6b2a3ae313f77
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue