Lightningbeam/lightningbeam-ui/lightningbeam-editor/src/panes
Skyler Lehmkuhl 5844a0f070 Composite grouped/nested video on the GPU path
Imported video is a Group[Video, Audio] that rendered as a Vello-baked
Vector layer, re-uploading the full frame to Vello's image atlas every
frame (~17ms/frame at 1080p, hitting playback and export alike). Extract
video frames out of the Group/clip scene recursion into
VideoRenderInstances so they composite via the GPU Video path; mixed
video+vector containers fall back to Vello (correct, unaccelerated).

Also route video through hardware sRGB decode: upload raw sRGB bytes to an
Rgba8UnormSrgb texture and blit with a non-unpremultiplying shader variant
(blit_straight), removing the per-frame per-pixel CPU sRGB->linear pass.
Add an F3 GPU-timestamp timer and a per-frame video texture cache.

Drops the live composite of a 1080p video from ~17ms to ~2-3ms.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-22 17:38:30 -04:00
..
node_graph Add automatable volume and pan control to default instruments 2026-03-23 23:27:05 -04:00
shaders Composite grouped/nested video on the GPU path 2026-06-22 17:38:30 -04:00
asset_library.rs Massive tempo refactor - make beats canonical time rep and allow them to be non constant 2026-04-02 10:26:01 -04:00
gradient_editor.rs Clean up build warnings 2026-06-21 16:48:59 -04:00
infopanel.rs Clean up build warnings 2026-06-21 16:48:59 -04:00
mod.rs Clean up build warnings 2026-06-21 16:48:59 -04:00
node_editor.rs Node graph initial work 2025-12-16 07:59:16 -05:00
outliner.rs update css handling 2026-03-02 10:32:19 -05:00
piano_roll.rs Clean up build warnings 2026-06-21 16:48:59 -04:00
preset_browser.rs Add automation inputs for audio graphs 2026-03-18 11:25:48 -04:00
shader_editor.rs update css handling 2026-03-02 10:32:19 -05:00
stage.rs Composite grouped/nested video on the GPU path 2026-06-22 17:38:30 -04:00
timeline.rs Clean up build warnings 2026-06-21 16:48:59 -04:00
toolbar.rs Refactor tools 2026-03-06 10:07:24 -05:00
virtual_piano.rs Give metatracks explicit node graphs 2026-03-10 20:20:46 -04:00