diff options
Diffstat (limited to 'components/constellation/pipeline.rs')
-rw-r--r-- | components/constellation/pipeline.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/constellation/pipeline.rs b/components/constellation/pipeline.rs index 23509e51d20..a0dc0391065 100644 --- a/components/constellation/pipeline.rs +++ b/components/constellation/pipeline.rs @@ -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, } } |