effectcraft/crates/gpu/src
Brandon Thomas 1b726349ab M13.24: web app depth (WEB-1) — GPU effects in frame workers, OPFS disk cache, storage manager
- GPU in the browser: each frame worker opens its own WebGPU device (Gpu::request_deferred) and
  renders the GPU compositor and GPU effects with deferred readbacks (effectcraft-gpu deferred):
  readbacks keyed by content start with map_async and miss, the pass returns placeholders, the
  layer cache's gate drops inserts, and FrameServer::resume renders again once the device
  delivered. Backend Auto times whole frames per comp in the workers. Frames with effects go to
  GPU workers instead of the page. CPU fallback without WebGPU in workers (?nogpuworkers).
- Fix: a WGSL constant (3.40282347e38) that Chrome rejects invalidated every GPU kernel in Chrome
  (the page's compositor too); a test checks every float literal fits f32.
- Disk cache in the Origin Private File System: workers write sealed frame entries with sync
  access handles (temp file + move), the page keeps the DiskIndex (LRU under the settings' limit,
  at most half the quota) and reads hits instead of rendering; survives reloads; blue cache bar.
- Storage manager: Settings ▸ Disk ▸ Browser Storage (usage/quota, persistent storage, Clear
  buttons, automation ids) and storage.info / storage.persist / storage.clear (StorageHost).
- Docs: web.md (GPU workers, deferred passes, disk cache, storage manager, threading design:
  one engine instance per worker), architecture, preferences, parity (WEB-1), roadmap.
- Tests: deferred passes vs CPU on a real device, placeholder gating, frame server passes and
  Auto, GPU worker routing + disk cache across a reload, storage commands and widgets, store
  usage by kind; smoke test: GPU effect frames in workers with pixel parity, disk hits after a
  reload, storage manager.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 18:35:03 -04:00
..
shaders M13.24: web app depth (WEB-1) — GPU effects in frame workers, OPFS disk cache, storage manager 2026-10-03 18:35:03 -04:00
adv3d.rs M13.24: web app depth (WEB-1) — GPU effects in frame workers, OPFS disk cache, storage manager 2026-10-03 18:35:03 -04:00
bokeh.rs M13.13: gpu texture pool, Auto per-comp backend choice, warp-family GPU ports 2026-10-03 10:31:31 -04:00
classic3d.rs M13.13: gpu texture pool, Auto per-comp backend choice, warp-family GPU ports 2026-10-03 10:31:31 -04:00
context.rs M13.24: web app depth (WEB-1) — GPU effects in frame workers, OPFS disk cache, storage manager 2026-10-03 18:35:03 -04:00
deferred.rs M13.24: web app depth (WEB-1) — GPU effects in frame workers, OPFS disk cache, storage manager 2026-10-03 18:35:03 -04:00
effects.rs M13.24: web app depth (WEB-1) — GPU effects in frame workers, OPFS disk cache, storage manager 2026-10-03 18:35:03 -04:00
fx_color.rs M13.13: gpu texture pool, Auto per-comp backend choice, warp-family GPU ports 2026-10-03 10:31:31 -04:00
fx_distort.rs M13.13: gpu texture pool, Auto per-comp backend choice, warp-family GPU ports 2026-10-03 10:31:31 -04:00
fx_extra.rs M13.13: GPU Circle, Ellipse, Iris Wipe, Bevel Alpha, Bevel Edges, Gaussian Blur (Legacy) 2026-10-03 10:53:00 -04:00
fx_generate.rs M13.13: GPU Circle, Ellipse, Iris Wipe, Bevel Alpha, Bevel Edges, Gaussian Blur (Legacy) 2026-10-03 10:53:00 -04:00
fx_key.rs M13.13: gpu texture pool, Auto per-comp backend choice, warp-family GPU ports 2026-10-03 10:31:31 -04:00
fx_noise.rs M13.13: gpu texture pool, Auto per-comp backend choice, warp-family GPU ports 2026-10-03 10:31:31 -04:00
fx_stylize.rs M13.13: gpu texture pool, Auto per-comp backend choice, warp-family GPU ports 2026-10-03 10:31:31 -04:00
fx_tone.rs M13.13: gpu texture pool, Auto per-comp backend choice, warp-family GPU ports 2026-10-03 10:31:31 -04:00
fx_warp.rs M13.13: gpu texture pool, Auto per-comp backend choice, warp-family GPU ports 2026-10-03 10:31:31 -04:00
lib.rs M13.24: web app depth (WEB-1) — GPU effects in frame workers, OPFS disk cache, storage manager 2026-10-03 18:35:03 -04:00
ops.rs M13.13: fuse 8/16 bpc quantise into the layer composite; steady-state bench traffic 2026-10-03 10:44:52 -04:00
particles.rs M13.24: web app depth (WEB-1) — GPU effects in frame workers, OPFS disk cache, storage manager 2026-10-03 18:35:03 -04:00
tests.rs M13.24: web app depth (WEB-1) — GPU effects in frame workers, OPFS disk cache, storage manager 2026-10-03 18:35:03 -04:00
tests_3d.rs Merge main into M13.6 2026-10-03 07:53:31 -04:00
tests_adjust.rs M13.13: gpu texture pool, Auto per-comp backend choice, warp-family GPU ports 2026-10-03 10:31:31 -04:00
tests_adv3d.rs M13.11: advanced 3d gpu 2026-10-03 09:38:11 -04:00
tests_deferred.rs M13.24: web app depth (WEB-1) — GPU effects in frame workers, OPFS disk cache, storage manager 2026-10-03 18:35:03 -04:00
tests_fx_color.rs Merge main into M9.13 (GPU kernels defer CPU-only controls via catalog::gpu_supported) 2026-10-03 07:29:30 -04:00
tests_fx_distort.rs M12.7: GPU distort/stylize effects (Turbulent Displace, Displacement Map, Wave Warp, Ripple, Twirl, Bulge, CC Lens, Mesh Warp, Mosaic, Find Edges, Emboss) 2026-10-03 02:42:43 -04:00
tests_fx_extra.rs M13.13: GPU Circle, Ellipse, Iris Wipe, Bevel Alpha, Bevel Edges, Gaussian Blur (Legacy) 2026-10-03 10:53:00 -04:00
tests_fx_generate.rs M12.7: GPU blur/transition/generate effects (radial, camera lens, CC radial fast, wipes, venetian, cell pattern, checkerboard, grid, 4-color, noise, add grain) 2026-10-03 02:46:09 -04:00
tests_fx_key.rs M13.9: gpu Refine Soft / Hard Matte (single-frame refinement) 2026-10-03 08:41:11 -04:00
tests_fx_noise.rs M13.13: gpu texture pool, Auto per-comp backend choice, warp-family GPU ports 2026-10-03 10:31:31 -04:00
tests_fx_stylize.rs M13.13: gpu texture pool, Auto per-comp backend choice, warp-family GPU ports 2026-10-03 10:31:31 -04:00
tests_fx_tone.rs M13.9: gpu Color Stabilizer apply pass 2026-10-03 08:28:27 -04:00
tests_fx_warp.rs M13.13: gpu texture pool, Auto per-comp backend choice, warp-family GPU ports 2026-10-03 10:31:31 -04:00
tests_particles.rs M12.7: GPU particles (CC Particle World, CC Particle Systems II, Particle Playground cannon): compute-shader simulation with GPU checkpoints, CPU as the oracle 2026-10-03 02:44:36 -04:00
walk.rs Merge branch 'main' into worktree-agent-a4b0610bd14276508 2026-10-03 10:53:00 -04:00