Skip to content

EffectCraft: An open-source motion graphics and compositing tool written by scratch in pure Rust

Merge remote-tracking branch 'origin/main' into HEAD

bflatastic0c96a1a0bd61
diff --cc crates/ui-egui/src/app.rs
index cbcb5bcec,61eef75a9..79c077b2a
--- a/crates/ui-egui/src/app.rs
+++ b/crates/ui-egui/src/app.rs
@@@ -75,10 -74,10 +75,12 @@@ impl EffectcraftApp
wgpu: None,
gpu: None,
gpu_checked: false,
+ #[cfg(not(target_arch = "wasm32"))]
+ gpu_build: None,
gpu_failures: None,
gpu_failure_applied: None,
+ footage_watcher: None,
+ footage_watch_key: None,
device_lost_close: None,
dialog_answers: std::sync::mpsc::channel(),
file_dialogs: FileDialogsUp::default(),
diff --cc crates/ui-egui/src/lib.rs
index ae00f7ac9,65c68ac52..27e24d4da
--- a/crates/ui-egui/src/lib.rs
+++ b/crates/ui-egui/src/lib.rs
@@@ -311,12 -310,13 +311,17 @@@ pub struct EffectcraftApp
/// The GPU compositor on that device (None: no usable adapter → CPU only).
pub(crate) gpu: Option<effectcraft_gpu::Gpu>,
gpu_checked: bool,
+ /// The GPU compositor being built on a worker thread (desktop): the window opens at once and
+ /// composites on the CPU until the worker's result lands ([`Self::init_gpu`]).
+ #[cfg(not(target_arch = "wasm32"))]
+ gpu_build: Option<Receiver<GpuBuild>>,
gpu_failures: Option<gpu_failure::GpuFailureBridge>,
gpu_failure_applied: Option<bool>,
+ /// Settings ▸ Import ▸ Reload Footage Changed on Disk: the worker that stamps the footage
+ /// files, started with the first project that has items ([`Self::tick_footage_reload`]).
+ footage_watcher: Option<effectcraft_engine::footage_reload::Watcher>,
+ /// The project revision and preference the watched set was last computed for.
+ footage_watch_key: Option<(u64, String)>,
/// The graphics device was lost and the window is closing (see `close_after_device_loss`);
/// `true` keeps crash recovery for the next launch.
device_lost_close: Option<bool>,