summaryrefslogtreecommitdiff
path: root/src/host
Commit message (Collapse)AuthorAge
* host: add optional Tracy profiling and reduce upload allocation stallsHEADmainGabriel Schneider3 days
|
* Add reusable GPU backdrop filtering to the shared canvasGabriel Schneider3 days
| | | | 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.
* sketchbook: text rasterized at one scale and drawn at another ↵Gabriel Schneider4 days
| | | | (f.textScaled), steady under a moving camera
* sketchbook: text in six faces of the Go family, all bundled (f.textIn, ↵Gabriel Schneider4 days
| | | | host.textSizeIn, sk.Face)
* sketchbook: shapes antialiased up to 3840x2160; SDL's Vulkan backend no ↵Gabriel Schneider4 days
| | | | | | longer defragments (it lost a frame's first draws) Co-Authored-By: Claude Fable 5.2 <[email protected]>
* sketchbook: frames for ffmpeg (--export, on a clock of its own), text sizes, ↵Gabriel Schneider4 days
| | | | | | a font from the environment Co-Authored-By: Claude Fable 5.2 <[email protected]>
* sketchbook: drop a patch leftover (standalone repo: tests pass as they are)Gabriel Schneider4 days
| | | | Co-Authored-By: Claude Fable 5.2 <[email protected]>
* sketchbook: a drawing layer on top, host fixes for replay and migrationGabriel Schneider4 days
|
* sketchbook: Zig 0.17, a Store on disk, requests, a scope (waveform, ↵Gabriel Schneider4 days
| | | | spectrum, spectrogram), audio codecs and fonts, web host
* sketchbook: await in scriptsGabriel Schneider2026-09-25
| | | | | | await FIELD VALUE plays frames until a state field holds the value, for up to a minute: for waits whose length is the sketch's business, such as a line of dialogue typing out.
* sketchbook: fills blendGabriel Schneider2026-09-25
| | | | | | The renderer's draw blend mode was left at SDL's default, none, so every translucent fill (panels, labels, HUD bars) drew opaque natively while the web honored alpha. It blends now.
* sketchbook: what the game's review neededGabriel Schneider2026-09-25
| | | | | | | | | | | - input.started: true on the first update of a run, never after a reload, for a sketch to stop what should not resume from saved state. - A console line that errors fails its script. Sketch commands answer unknown, done or failed (abi.Outcome) instead of a bool that hid errors. - addScript also takes the hot-reloadable library, run through the generic host, so scripts can reload a real build. - Sounds that do not load are .none, not an empty clip. - sk_tag reads an enum field's tag name from the web build, for tests.
* sketchbook: headless runs never open a windowGabriel Schneider2026-09-25
| | | | | | | | The offscreen hints lost to the environment: with SDL_VIDEO_DRIVER=wayland set, every headless test and script opened a real window. They are overrides now. The offscreen driver has no Vulkan surface on every driver, so a headless host's GPU renderer gets no window and draws into a canvas-sized texture, which screenshots read.
* Put the game first: lib/sketchbook, sketches/vecanimGabriel Schneider2026-09-25
The root is the game. The platform library moves to lib/sketchbook (with serve_web.py, which serves any sketch's web build, as a tool of it), and vecanim to sketches/vecanim, still its own package on the same library.