servo: Merge #16113 - Update WR (opaque rect optimization, stacking context culling) (from glennw:update-wr-opaque-opt); r=mrobinson

Source-Repo: https://github.com/servo/servo
Source-Revision: 3b79bc25825ea416298b1917e0bd409b7044f837
This commit is contained in:
Glenn Watson
2017-03-26 14:04:07 -07:00
parent 6a1e0d43c6
commit 17e77a7153
4 changed files with 29 additions and 32 deletions

View File

@@ -567,7 +567,8 @@ impl<'a> CanvasPaintThread<'a> {
offset: 0,
is_opaque: false,
},
element.into());
element.into(),
None);
let data = CanvasImageData {
image_key: self.webrender_image_key,

View File

@@ -261,7 +261,8 @@ impl WebGLPaintThread {
offset: 0,
is_opaque: false,
},
pixels.clone());
pixels.clone(),
None);
let image_data = CanvasImageData {
image_key: image_key,