fn gpu_cached(
cache: &mut Cache<LayerSet>,
spare: &mut Vec<Frame>,
project: &Project,
idx: i64,
fps: f64,
w: u32,
h: u32,
pool: &mut DecoderPool,
text: &Mutex<TextRasterizer>,
shapes: &mut ShapeRasterizer,
comp: &mut Compositor,
hits: &AtomicU64,
) -> (Arc<LayerSet>, bool)Expand description
Decoded layer set for grid index idx — from the cache when possible, else decoded and cached.