Update WR (render notifier API changes).

This commit is contained in:
Glenn Watson 2017-10-23 11:18:40 +10:00
parent 99b5eac393
commit 1da9dc99b5
21 changed files with 88 additions and 31 deletions

View file

@ -325,6 +325,10 @@ impl RenderNotifier {
}
impl webrender_api::RenderNotifier for RenderNotifier {
fn clone(&self) -> Box<webrender_api::RenderNotifier> {
Box::new(RenderNotifier::new(self.compositor_proxy.clone()))
}
fn new_frame_ready(&self) {
self.compositor_proxy.recomposite(CompositingReason::NewWebRenderFrame);
}