From ebfe8df2a03f1f1e631b792529b478da93e933f2 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Sat, 2 Aug 2014 18:25:18 -0700 Subject: [PATCH] Update to latest rust-layers We now need to pass through the content age of the LayerBuffer when creating it. --- src/components/gfx/render_task.rs | 3 +++ src/support/layers/rust-layers | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/gfx/render_task.rs b/src/components/gfx/render_task.rs index ca0a398aa37..710a08bff9e 100644 --- a/src/components/gfx/render_task.rs +++ b/src/components/gfx/render_task.rs @@ -372,6 +372,7 @@ impl RenderTask { buffer.resolution = scale; buffer.native_surface.mark_wont_leak(); buffer.painted_with_cpu = true; + buffer.content_age = tile.content_age; buffer } None => { @@ -391,6 +392,7 @@ impl RenderTask { resolution: scale, stride: (width * 4) as uint, painted_with_cpu: true, + content_age: tile.content_age, } } }; @@ -422,6 +424,7 @@ impl RenderTask { resolution: scale, stride: (width * 4) as uint, painted_with_cpu: false, + content_age: tile.content_age, } } }; diff --git a/src/support/layers/rust-layers b/src/support/layers/rust-layers index 016b896f385..5c167a7f739 160000 --- a/src/support/layers/rust-layers +++ b/src/support/layers/rust-layers @@ -1 +1 @@ -Subproject commit 016b896f385bea119d13d6c2a13208a4c4b8b252 +Subproject commit 5c167a7f739553dff01d3d6cba25e344058f77a1