feat(studio): adopt the 640x360 native graphics contract
Test / Tests and coverage
Intrepid/Prometeu/Studio/pipeline/head This commit looks good

Update the new JavaFX UI's frame sizing and pointer cancellation while
preserving zoom and scrolling. Adapt Pong, Fragments and the camera scene
to the native viewport, and update exact visual references and IPC fixtures.

Build and run all three examples against qualified installed runtimes.
Observe an actual Pong paddle collision and verify native frame captures.
Retain the qualification evidence generated for the tested native bundles.

Validated by the complete verify and desktop integration gates, including
the existing 30-second Play measurement and 20 Play/Stop cycles.

Work: WRK-0016 / DEC-0001 / PLN-0001
Commit and push explicitly authorized by the user after completion.
This commit is contained in:
2026-11-20 10:34:45 +00:00
parent 71b62a8e0a
commit 666a36d133
20 changed files with 13649 additions and 88 deletions
+7 -2
View File
@@ -1,8 +1,13 @@
# Fragments
A procedural fractal/cloud effect with moving stars. Open the project in Studio,
build with Shipper and use Debug Play. The sample keeps its original logical
320×180 field and 8-pixel cells; the host framebuffer is 480×270.
build with Shipper and use Debug Play. The effect covers the native 640×360 field.
Its procedural cells are 16 pixels: 920 cells retain the original sample's
computational workload, while 8-pixel cells over the larger field exhausted the
existing VM frame budget. This content adjustment preserves the effect's update
rhythm without changing machine limits. The final cell row is clipped to 8 pixels;
star sizes and motion remain unchanged. These cells are drawing primitives, not a
restriction on the machine's 8/16/32-pixel glyph tiles.
The effect's palette formulas produce RGB565 values. `rgb565()` explicitly expands
the 5/6/5-bit channels into the current RGBA8888 Color representation. No image
+6 -4
View File
@@ -2,9 +2,11 @@ import { Color } from @core:color;
import { Gfx } from @sdk:gfx;
declare global ticks: int = 0;
declare const SCREEN_W: int = 320;
declare const SCREEN_H: int = 180;
declare const CELL: int = 8;
declare const SCREEN_W: int = 640;
declare const SCREEN_H: int = 360;
// Keep the procedural workload within the existing VM frame budget at 640x360.
// The last row is clipped to the final 8 pixels of the framebuffer.
declare const CELL: int = 16;
[Init]
fn init() -> void
@@ -140,4 +142,4 @@ fn frame() -> void
Gfx.fill_rect(star_f, star_y5, star_s5, star_s5, rgb565(star_c5));
}
// Estimated frame cost: ~920 fills + ~2760 fractal-iteration steps + 6 twinkling parallax stars/frame at CELL=8.
// 920 fills + 2760 fractal-iteration steps + 6 twinkling stars/frame at CELL=16.