mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-01 22:17:53 -06:00
The first frame ran `app.gpu {enabled}` and its reply called `gpu::available()`, which waits
for the device that `warm_up` is creating off the UI thread: the window's first frame stalled
for the whole device and kernel setup (8-11 s under load). `app.gpu` takes `wait: false`, which
answers at once while the device is still being created (available/adapter/reason null), and
the UI uses it. `a_slow_photos_import_never_blocks_the_window` caught it (8.8 s -> 0.9 s).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>