summaryrefslogtreecommitdiff
path: root/test/macos-snapshots
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-16 15:49:12 -0300
committerGabriel Schneider <[email protected]>2026-08-18 23:44:42 -0300
commit1551e409c31992437cb2fa864f576d45c8433801 (patch)
treee2fae8451f87b735a1360c7c2e383fdc40165789 /test/macos-snapshots
parentbe2a9957708cbf0c478ca861c4a1f0f227bbfe10 (diff)
downloadpardes-1551e409c31992437cb2fa864f576d45c8433801.tar.gz
pardes-1551e409c31992437cb2fa864f576d45c8433801.zip
big slow change: prebuilt shaders (SPIR-V/Metal), core gui reflow, docs, web + snapshot refresh
Diffstat (limited to 'test/macos-snapshots')
-rw-r--r--test/macos-snapshots/boot.golden1
-rw-r--r--test/macos-snapshots/boot.snap8
-rw-r--r--test/macos-snapshots/font.snap5
3 files changed, 14 insertions, 0 deletions
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