Skip to main content

plan

Function plan 

pub fn plan(
    shown: Option<&Shown>,
    cache: &FrameCache,
    size: (u32, u32),
    output_current: bool,
) -> LayerWork
Expand description

The work that brings layer textures showing shown to cache, on an output of size. output_current says the output target still holds shown’s composite, so only what changed needs compositing again.