diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-13 12:12:22 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-13 12:12:22 -0300 |
| commit | 409c1accefeb7a775c0914c888b469a1e78fc69a (patch) | |
| tree | 21af5f4b0e82e5c36d129421a7257be6d8bebd8d /src/sketch/web.zig | |
| parent | 91a34124880d932f97718b959b11bc5375c0dd79 (diff) | |
| download | sketchbook-409c1accefeb7a775c0914c888b469a1e78fc69a.tar.gz sketchbook-409c1accefeb7a775c0914c888b469a1e78fc69a.zip | |
Add reusable GPU backdrop filtering to the shared canvas
Draw native GPU frames through the same bounded canvas used by headless capture. Backdrop commands reuse one snapshot and shader state, with an unchanged fallback on unsupported renderers. Verified through native debugger lenses, restart, and repeated font zoom checks.
Diffstat (limited to 'src/sketch/web.zig')
| -rw-r--r-- | src/sketch/web.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sketch/web.zig b/src/sketch/web.zig index db9d9a8..3e102ad 100644 --- a/src/sketch/web.zig +++ b/src/sketch/web.zig @@ -232,7 +232,7 @@ fn Driver(comptime App: type) type { .open_file => |v| js.openFile(v.command.ptr, v.command.len, v.pattern.ptr, v.pattern.len), // Synthesised voices are not on the web yet; quitting a page // means nothing; `run` lines go after the frame. - .voice, .quit, .run => {}, + .voice, .quit, .run, .backdrop => {}, } } |
