Skip to main content

SPARE_FRAMES

Constant SPARE_FRAMES 

Source
pub const SPARE_FRAMES: u64 = 30;
Expand description

How many frames an image’s spare buffer outlives its last update. Long enough for a stream slower than the display — a 30 fps video beside a 120 Hz animation updates every fourth frame — and short enough that one that stopped gives its buffer back.