Backed out changeset 2d3e477fd282
authorJerry Shih <hshih@mozilla.com>
Thu, 01 Dec 2016 15:28:20 +0800
changeset 459851 95098568797bbcd89a19e17f4d444acab7aec4d8
parent 459850 7c6afff0c35db7e480743d77da938e530bf4b4a5
child 459852 1a3356dc409f1e6813ac395a717b7f271c26861e
push id41343
push userkgupta@mozilla.com
push dateThu, 12 Jan 2017 20:13:44 +0000
bugs1321417
milestone53.0a1
backs out2d3e477fd282afeeaf7f849c52aec99f509dbda0
Backed out changeset 2d3e477fd282 The flush function is removed by Bug 1321417.
gfx/webrender_bindings/src/bindings.rs
--- a/gfx/webrender_bindings/src/bindings.rs
+++ b/gfx/webrender_bindings/src/bindings.rs
@@ -417,19 +417,16 @@ pub extern fn wr_pop_dl_builder(state: &
 
     prev_dl.push_stacking_context(sc);
     prev_dl.list.append(&mut dl.list);
     prev_dl.pop_stacking_context()
 }
 
 #[no_mangle]
 pub fn wr_composite_window(window: &mut WrWindowState) {
-    window.api.flush();
-    wait_for_flush_notification(&window.flush_notifier_lock);
-
     gl::clear(gl::COLOR_BUFFER_BIT);
     window.renderer.update();
     window.renderer.render(window.size);
 }
 
 #[no_mangle]
 pub extern fn wr_dp_end(window: &mut WrWindowState,
                         state: &mut WrState,