Remove pipeline_to_frame_map

This commit is contained in:
Connor Brewster 2016-06-20 22:30:07 -06:00
parent a94d3ee744
commit b8059558e3
No known key found for this signature in database
GPG key ID: 4DC88F6C5396A5F9
2 changed files with 27 additions and 24 deletions

View file

@ -69,6 +69,9 @@ pub struct Pipeline {
/// Whether this pipeline should be treated as visible for the purposes of scheduling and
/// resource management.
pub visible: bool,
/// Frame that contains this Pipeline. Can be `None` if the pipeline is not apart of the
/// frame tree.
pub frame: Option<FrameId>,
}
/// Initial setup data needed to construct a pipeline.
@ -292,6 +295,7 @@ impl Pipeline {
running_animations: false,
visible: visible,
is_private: is_private,
frame: None,
}
}