summaryrefslogtreecommitdiff
path: root/gui/test/restart.py
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-13 12:18:26 -0300
committerGabriel Schneider <[email protected]>2026-11-13 12:18:26 -0300
commit4f31aaef1338b53195f8c475db5a72d75cc1fc82 (patch)
treef2c3c2140269a5559f60bcd9e2520f5ff7431565 /gui/test/restart.py
parent771e377f6db9c3aed1ab85bc36a774f4176272cc (diff)
downloadcomputeranim-4f31aaef1338b53195f8c475db5a72d75cc1fc82.tar.gz
computeranim-4f31aaef1338b53195f8c475db5a72d75cc1fc82.zip
debugger: add refractive lenses and configurable memory values
Use disassembly lenses for executable pointers, browse surrounding segment context, and keep the reading surface opaque with GPU refraction at the edges. Route right-clicks by stack mapping and expose byte-width and numeric-format controls. Replace matching-address arrows with staggered shared-renderer highlights. Verified GUI and renderer suites, native restart/zoom cycles, independent float-extrema and popup review, and a live wrong-map stop at Deoptimizer::New with JS origin context. Requires Sketchbook 409c1ac.
Diffstat (limited to 'gui/test/restart.py')
-rw-r--r--gui/test/restart.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/gui/test/restart.py b/gui/test/restart.py
index 166d8e3..a9447b5 100644
--- a/gui/test/restart.py
+++ b/gui/test/restart.py
@@ -59,6 +59,14 @@ expect stops 1
if zoom == 200:
# Tiny overlays reveal the new lens's header and keep its close control reachable.
commands += 'key z\nexpect lens_count 1\nframes 30\nclick 250 406\nexpect lens_count 2\nexpect lenses[1].cycle true\nframes 30\nclick 700 406\nexpect lens_count 1\nkey escape\n'
+ # Native glass shares the canvas: changing font size must not resize it.
+ commands += 'move 0 0\nkey z\nframes 10\n'
+ for cycle in range(3):
+ for zoom in (60, 200, 100):
+ shot = out / f'glass-{cycle}-{zoom}.png'
+ images.append(shot)
+ commands += f'console set zoom {zoom}\nframes 5\nscreenshot {shot}\n'
+ commands += 'key escape\n'
commands += '''hold left_ctrl
key minus
release left_ctrl