Bug 1470125 - Update bindings for changes in WR PR 2849. r=Gankro
☠☠ backed out by 27f60c02583d ☠ ☠
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 28 Jun 2018 11:48:47 -0400
changeset 479434 cb8bed4a7691d9b12a42a80bbb40fb7ff719f6ff
parent 479433 82527f62f249da6b1ec1ed544fe84011c28a056d
child 479435 c6ef35a760aecc90c41398b4cd4af1be1a03753f
push id9719
push userffxbld-merge
push dateFri, 24 Aug 2018 17:49:46 +0000
treeherdermozilla-beta@719ec98fba77 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGankro
bugs1470125
milestone63.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 1470125 - Update bindings for changes in WR PR 2849. r=Gankro MozReview-Commit-ID: JZtSKH5hZtO
gfx/webrender_bindings/src/bindings.rs
--- a/gfx/webrender_bindings/src/bindings.rs
+++ b/gfx/webrender_bindings/src/bindings.rs
@@ -509,17 +509,18 @@ impl RenderNotifier for CppNotifier {
         unsafe {
             wr_notifier_wake_up(self.window_id);
         }
     }
 
     fn new_frame_ready(&self,
                        _: DocumentId,
                        _scrolled: bool,
-                       composite_needed: bool) {
+                       composite_needed: bool,
+                       _render_time_ns: Option<u64>) {
         unsafe {
             if composite_needed {
                 wr_notifier_new_frame_ready(self.window_id);
             } else {
                 wr_notifier_nop_frame_done(self.window_id);
             }
         }
     }
@@ -712,21 +713,21 @@ impl APZCallbacks {
     }
 }
 
 impl SceneBuilderHooks for APZCallbacks {
     fn register(&self) {
         unsafe { apz_register_updater(self.window_id) }
     }
 
-    fn pre_scene_swap(&self) {
+    fn pre_scene_swap(&self, _scenebuild_time: u64) {
         unsafe { apz_pre_scene_swap(self.window_id) }
     }
 
-    fn post_scene_swap(&self, info: PipelineInfo) {
+    fn post_scene_swap(&self, info: PipelineInfo, _sceneswap_time: u64) {
         let info = WrPipelineInfo::new(info);
         unsafe { apz_post_scene_swap(self.window_id, info) }
 
         // After a scene swap we should schedule a render for the next vsync,
         // otherwise there's no guarantee that the new scene will get rendered
         // anytime soon
         unsafe { wr_schedule_render(self.window_id) }
     }