Bug 1512537 - Let the reference frame know about the transform style. r=kats
authorEmilio Cobos Álvarez <emilio@crisal.io>
Thu, 13 Dec 2018 00:54:48 +0000
changeset 450367 4a0097b6b670cd2b850b656c6d4192e4ae9b2049
parent 450366 1da261b7f019321c54677afcefe19da35dec68e0
child 450368 f9f6c219680d235a47297f613e564d0cb339fa48
push id110479
push usercsabou@mozilla.com
push dateThu, 13 Dec 2018 04:02:11 +0000
treeherdermozilla-inbound@3ecc407c0cc8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1512537
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1512537 - Let the reference frame know about the transform style. r=kats This is the only Gecko side change needed for https://github.com/servo/webrender/pull/3401. Differential Revision: https://phabricator.services.mozilla.com/D14247
gfx/webrender_bindings/src/bindings.rs
--- a/gfx/webrender_bindings/src/bindings.rs
+++ b/gfx/webrender_bindings/src/bindings.rs
@@ -1937,17 +1937,17 @@ pub extern "C" fn wr_dp_push_stacking_co
     };
 
     let mut prim_info = LayoutPrimitiveInfo::new(bounds);
 
     *out_is_reference_frame = transform_binding.is_some() || perspective.is_some();
     if *out_is_reference_frame {
         let ref_frame_id = state.frame_builder
             .dl_builder
-            .push_reference_frame(&prim_info, transform_binding, perspective);
+            .push_reference_frame(&prim_info, transform_style, transform_binding, perspective);
         *out_reference_frame_id = pack_clip_id(ref_frame_id);
 
         prim_info.rect.origin = LayoutPoint::zero();
         prim_info.clip_rect.origin = LayoutPoint::zero();
         state.frame_builder.dl_builder.push_clip_id(ref_frame_id);
     }
 
     prim_info.is_backface_visible = is_backface_visible;