mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update to latest rust-layers
We now need to pass through the content age of the LayerBuffer when creating it.
This commit is contained in:
parent
5b2e08bb5c
commit
ebfe8df2a0
2 changed files with 4 additions and 1 deletions
|
@ -372,6 +372,7 @@ impl<C:RenderListener + Send> RenderTask<C> {
|
||||||
buffer.resolution = scale;
|
buffer.resolution = scale;
|
||||||
buffer.native_surface.mark_wont_leak();
|
buffer.native_surface.mark_wont_leak();
|
||||||
buffer.painted_with_cpu = true;
|
buffer.painted_with_cpu = true;
|
||||||
|
buffer.content_age = tile.content_age;
|
||||||
buffer
|
buffer
|
||||||
}
|
}
|
||||||
None => {
|
None => {
|
||||||
|
@ -391,6 +392,7 @@ impl<C:RenderListener + Send> RenderTask<C> {
|
||||||
resolution: scale,
|
resolution: scale,
|
||||||
stride: (width * 4) as uint,
|
stride: (width * 4) as uint,
|
||||||
painted_with_cpu: true,
|
painted_with_cpu: true,
|
||||||
|
content_age: tile.content_age,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -422,6 +424,7 @@ impl<C:RenderListener + Send> RenderTask<C> {
|
||||||
resolution: scale,
|
resolution: scale,
|
||||||
stride: (width * 4) as uint,
|
stride: (width * 4) as uint,
|
||||||
painted_with_cpu: false,
|
painted_with_cpu: false,
|
||||||
|
content_age: tile.content_age,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 016b896f385bea119d13d6c2a13208a4c4b8b252
|
Subproject commit 5c167a7f739553dff01d3d6cba25e344058f77a1
|
Loading…
Add table
Add a link
Reference in a new issue