diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2014-03-28 12:55:29 -0700 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2014-04-03 14:50:56 -0700 |
commit | cd9d824c21167721fca40a4eff9563b8316d6c1a (patch) | |
tree | 842382875b8155467b5bb08ea347ad0131760f6c /src/components/main/pipeline.rs | |
parent | f8e3e50db5041fd753d0cb83a7cb1464725cc976 (diff) | |
download | servo-cd9d824c21167721fca40a4eff9563b8316d6c1a.tar.gz servo-cd9d824c21167721fca40a4eff9563b8316d6c1a.zip |
servo: Implement stacking contexts and allow multiple layers per
pipeline. This handles fixed positioning mostly correctly.
Diffstat (limited to 'src/components/main/pipeline.rs')
-rw-r--r-- | src/components/main/pipeline.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/components/main/pipeline.rs b/src/components/main/pipeline.rs index 77782342c12..2cca7feeb97 100644 --- a/src/components/main/pipeline.rs +++ b/src/components/main/pipeline.rs @@ -9,7 +9,6 @@ use extra::url::Url; use geom::size::Size2D; use gfx::render_task::{PaintPermissionGranted, PaintPermissionRevoked}; use gfx::render_task::{RenderChan, RenderTask}; -use layout::util::OpaqueNode; use script::layout_interface::LayoutChan; use script::script_task::LoadMsg; use script::script_task::{AttachLayoutMsg, NewLayoutInfo, ScriptTask, ScriptChan}; @@ -28,7 +27,7 @@ pub struct Pipeline { subpage_id: Option<SubpageId>, script_chan: ScriptChan, layout_chan: LayoutChan, - render_chan: RenderChan<OpaqueNode>, + render_chan: RenderChan, layout_shutdown_port: Port<()>, render_shutdown_port: Port<()>, /// The most recently loaded url @@ -40,7 +39,7 @@ pub struct Pipeline { pub struct CompositionPipeline { id: PipelineId, script_chan: ScriptChan, - render_chan: RenderChan<OpaqueNode>, + render_chan: RenderChan, } impl Pipeline { @@ -171,7 +170,7 @@ impl Pipeline { subpage_id: Option<SubpageId>, script_chan: ScriptChan, layout_chan: LayoutChan, - render_chan: RenderChan<OpaqueNode>, + render_chan: RenderChan, layout_shutdown_port: Port<()>, render_shutdown_port: Port<()>) -> Pipeline { |