Function cpu_cached

Source
fn cpu_cached(
    cache: &mut Cache<Frame>,
    fpool: &mut Vec<Frame>,
    project: &Project,
    idx: i64,
    fps: f64,
    w: u32,
    h: u32,
    pool: &mut DecoderPool,
    text: &Mutex<TextRasterizer>,
    comp: &mut Compositor,
    hits: &AtomicU64,
) -> (Arc<Frame>, bool)
Expand description

Composited frame for grid index idx — from the cache when possible, else rendered and cached. false = the render panicked (nothing was cached; the returned frame is stale/blank).