Skip to main content

Crate clairlune_live

Crate clairlune_live 

Source
Expand description

Clairlune’s live wallpaper (PLAN.md sections 2 and 5.3): a saved scene plays behind the desktop icons.

Player keeps the frame between ticks with the incremental compositor and writes only the rectangles that changed into a 0RGB buffer, which the presenter copies to the screen as damage. The pixels come from the same compositor as the still PNG, so the first live frame (at the hero time) is the static wallpaper exactly, and so is every frame’s palette.

Modules§

gpu
The GPU presenter (PLAN.md section 5.3): each monitor’s frame lives on the GPU as an index texture (one byte per pixel) with its 256-entry palette, and one full-screen triangle looks each pixel up. Only the rectangles the compositor reports are uploaded per frame.

Structs§

Player
Plays one saved scene, one frame at a time.

Constants§

SMOOTHNESS_FPS
Live frame rates, by their names in Settings (PLAN.md section 5.3).