From 1551e409c31992437cb2fa864f576d45c8433801 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 16 Aug 2026 15:49:12 -0300 Subject: big slow change: prebuilt shaders (SPIR-V/Metal), core gui reflow, docs, web + snapshot refresh --- test/macos-snapshots/boot.golden | 1 + test/macos-snapshots/boot.snap | 8 ++++++++ test/macos-snapshots/font.snap | 5 +++++ 3 files changed, 14 insertions(+) (limited to 'test/macos-snapshots') diff --git a/test/macos-snapshots/boot.golden b/test/macos-snapshots/boot.golden index 1c971b3f..fa94142f 100644 --- a/test/macos-snapshots/boot.golden +++ b/test/macos-snapshots/boot.golden @@ -56,3 +56,4 @@ | | == draw resized 850x495 nonblank +== draw panels 850x495 nonblank diff --git a/test/macos-snapshots/boot.snap b/test/macos-snapshots/boot.snap index e3d4ba14..9adcf95c 100644 --- a/test/macos-snapshots/boot.snap +++ b/test/macos-snapshots/boot.snap @@ -21,3 +21,11 @@ resize 30 100 stable 700 20000 snap resized draw resized + +# The panel ABI and the runtime Metal path in one small assertion. Newcol +# changes the existing pane and opens a second one; paint order must be moving +# then opening, and draw compiles/runs the shader against the whole frame. +command PanelSlide +command Newcol +tracks moving:slide opening:slide +draw-effect panels diff --git a/test/macos-snapshots/font.snap b/test/macos-snapshots/font.snap index 71049b55..7fa04ebe 100644 --- a/test/macos-snapshots/font.snap +++ b/test/macos-snapshots/font.snap @@ -9,6 +9,7 @@ start 24 100 wait 8000 $ stable 700 20000 +font-size 14 snap boot # Menlo ships with every macOS and ships inside a .ttc, so this is also the @@ -18,6 +19,7 @@ snap boot command Font Menlo stable 700 20000 font Menlo-Regular +font-size 14 snap menlo # A name that resolves to nothing must leave the screen alone rather than @@ -34,16 +36,19 @@ snap unchanged zoom 4 stable 700 20000 font Menlo-Regular +font-size 18 snap bigger # ...and back, which must land on exactly the grid it started from — the whole # point of "actual size" being a fixed number rather than an undo stack. zoom reset stable 700 20000 +font-size 14 snap reset # Small enough to be worth checking the clamp does not run away: the range # floor is 6pt, so this asks for far past it and must simply stop. zoom -40 stable 700 20000 +font-size 6 snap floor -- cgit v1.3