Files
qbz/crates/qbz-audio
vicrodh dbe818c7d3 perf: fix shader-underlay leak, idle 30Hz wakeups, per-frame GPU churn
- Gate the shader drain on the immersive view being OPEN, not just
  shader-mode > 0: the three close handlers never reset shader-mode, so
  a picked shader scene kept rendering a full-res pass at 30fps forever
  after closing the immersive view.
- Start/stop the drain timer from set-enabled instead of running it 30x/s
  for the app lifetime; park the FFT producer thread on a condvar while
  the tap is disabled.
- Compute the 5 energy bands in one spectrum pass (was two identical
  scans) and reuse the waveform buffer.
- Shader underlay: rotate a small pool of render targets instead of
  creating a fresh 2560x1440 texture every frame (~440 MB/s alloc churn),
  clamp the target to the window physical size, and build pipelines
  lazily on first use instead of compiling all six WGSL shaders at
  startup.

cc
2026-07-01 18:05:04 -06:00
..