mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Move CompositionPipeline out of the pipeline module.
This commit is contained in:
parent
1a34137ac4
commit
383cdd450f
3 changed files with 15 additions and 11 deletions
|
@ -2,6 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use CompositionPipeline;
|
||||
use CompositorProxy;
|
||||
use compositor_thread;
|
||||
use compositor_thread::Msg as CompositorMsg;
|
||||
|
@ -60,15 +61,6 @@ pub struct Pipeline {
|
|||
pub is_private: bool,
|
||||
}
|
||||
|
||||
/// The subset of the pipeline that is needed for layer composition.
|
||||
#[derive(Clone)]
|
||||
pub struct CompositionPipeline {
|
||||
pub id: PipelineId,
|
||||
pub script_chan: IpcSender<ConstellationControlMsg>,
|
||||
pub layout_chan: LayoutControlChan,
|
||||
pub chrome_to_paint_chan: Sender<ChromeToPaintMsg>,
|
||||
}
|
||||
|
||||
/// Initial setup data needed to construct a pipeline.
|
||||
///
|
||||
/// *DO NOT* add any Senders to this unless you absolutely know what you're doing, or pcwalton will
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue