Update WR (various optimizations, gradient improvements).

This commit is contained in:
Glenn Watson 2017-03-31 13:38:15 +10:00
parent 2df6e26fd7
commit 6dd3bc29e1
5 changed files with 112 additions and 78 deletions

View file

@ -425,7 +425,7 @@ impl WebRenderDisplayItemConverter for DisplayItem {
vec![],
None);
let provided_id = ScrollLayerId::new(item.scroll_root.id.0, builder.pipeline_id);
let provided_id = ScrollLayerId::new(item.scroll_root.id.0 as u64, builder.pipeline_id);
let id = builder.define_clip(clip,
item.scroll_root.size.to_sizef(),
Some(provided_id));
@ -444,7 +444,7 @@ impl WebRenderScrollRootIdConverter for ScrollRootId {
if *self == ScrollRootId::root() {
ScrollLayerId::root_scroll_layer(pipeline_id)
} else {
ScrollLayerId::new(self.0, pipeline_id)
ScrollLayerId::new(self.0 as u64, pipeline_id)
}
}
}