fix(renderer+ux): frame-liveness watchdog (#558), dup-add button (#655)

- #558: a backend can be alive yet wedged (zero presented frames forever
  on legacy stacks). Vendored femtovg counts presented frames; a watchdog
  8s after window-ready re-arms the renderer sentinel and restarts, so
  the existing ladder degrades wgpu -> alt adapter -> GL -> software on
  its own instead of stranding the user on a blank window.
- #655: 'Add only new tracks' stays enabled with all-dupes (adds zero
  and closes) instead of disappearing as the primary action.

km
This commit is contained in:
vicrodh committed 2026-07-25 12:05:27 -06:00
1 parent f1eeaf9126
commit d99419f22d
4 files changed
+36 -6

No files matched your search

+3
View File
@@ -209,6 +209,9 @@ impl GraphicsBackend for WGPUBackend {
surface: Self::WindowSurface,
) -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
surface.surface_texture.present();
// QBZ vendor patch (#558): count presented frames for the
// render-liveness watchdog.
crate::note_frame_presented();
Ok(())
}