summaryrefslogtreecommitdiff
path: root/apps/web/src/services/renderer/compositor/wasm-compositor.ts
Commit message (Collapse)AuthorAgeFilesLines
* fix: keep GPU effect previews from clobbering the preview canvascashmere2026-08-081-0/+8
| | | | | | | | | | | | | | | | On the WebGL backend wgpu can only present to the single canvas its GL context is bound to, which is also the compositor's output canvas. The effect tile previews (and mask feather) rendered through that canvas and resized it behind the compositor's back, leaving the main preview showing the preview image stretched until a full reload. TS side (works with the published wasm): after every applyEffectPasses/ applyMaskFeather call the gpu renderer restores the canvas size, using a one-pixel intermediate resize to force a surface reconfigure, then notifies the preview component to re-render the current frame. Rust side (next wasm publish): the GL canvas detour saves and restores the canvas size, and resizeCompositor always reconfigures the surface.
* perf: improve rendering performance by ~20xMaze Winther2026-04-221-60/+160
|
* chore: remove debugging throughout codebaseMaze Winther2026-04-151-15/+0
|
* refactor: rendering pipelineMaze Winther2026-04-131-0/+142
Made-with: Cursor