servo/components
bors-servo ad53e95080 Auto merge of #6083 - ecoal95:layerize-canvas, r=pcwalton
I've done a bit of job to get this done. Right now readback is still used, but we have a `LayerId` -> `CanvasRenderer` map on the paint task, that we can use to get rid of that.

I'd want review, to see if this is a good approach (I know it's not the initial `CanvasId` -> renderer approach, but it's pretty similar, since a canvas involves a `PaintLayer`).

I had to do a bit of refactoring to avoid cyclic dependencies between canvas and gfx. I'd want you to review them too.

It's mergeable and doesn't break any tests :P

Some of my main concerns:
* Does the canvas render really need to be behind an `Arc<Mutex<T>>`?
* I can't clone a `NativeSurface` right now (that's why the `SendNativeSurface()` msg is unimplemented in the WebGL task). It should be easy to add that to rust-layers, supposing the caller is responsible to mark it as non-leaking, any reason to not do it?

cc @jdm @pcwalton

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6083)
<!-- Reviewable:end -->
2015-05-20 15:42:06 -05:00
..
canvas Layerize canvas 2015-05-20 19:10:50 +02:00
canvas_traits Layerize canvas 2015-05-20 19:10:50 +02:00
compositing Auto merge of #6083 - ecoal95:layerize-canvas, r=pcwalton 2015-05-20 15:42:06 -05:00
devtools Fix comments in devtools. 2015-05-14 13:10:40 +02:00
devtools_traits Upgrade to Hyper 0.4.0 2015-05-12 16:48:21 +02:00
gfx Auto merge of #6083 - ecoal95:layerize-canvas, r=pcwalton 2015-05-20 15:42:06 -05:00
gfx_traits Layerize canvas 2015-05-20 19:10:50 +02:00
layout Auto merge of #6083 - ecoal95:layerize-canvas, r=pcwalton 2015-05-20 15:42:06 -05:00
layout_traits compositing: Implement display ports and avoid creating display lists 2015-05-19 16:53:51 -07:00
msg Layerize canvas 2015-05-20 19:10:50 +02:00
net Auto merge of #6129 - KiChjang:fetch-spec, r=jdm 2015-05-19 23:08:41 -05:00
net_traits Upgrade to Hyper 0.4.0 2015-05-12 16:48:21 +02:00
plugins fixes #6069 2015-05-20 10:58:30 -04:00
profile Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. 2015-05-05 10:07:34 -04:00
profile_traits Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. 2015-05-05 10:07:34 -04:00
script Auto merge of #6083 - ecoal95:layerize-canvas, r=pcwalton 2015-05-20 15:42:06 -05:00
script_traits Make WebDriver Get() command wait on pages loading before returning. 2015-05-14 10:59:10 +01:00
servo Auto merge of #6083 - ecoal95:layerize-canvas, r=pcwalton 2015-05-20 15:42:06 -05:00
style Enable 'direction' without --experimental 2015-05-19 11:42:43 -07:00
util script: Implement the width and height attributes for iframes per 2015-05-20 11:15:25 -07:00
webdriver_server Add support for timing out scripts 2015-05-14 10:59:20 +01:00
webdriver_traits Add support for timing out scripts 2015-05-14 10:59:20 +01:00