feat(studio): adopt the 640x360 native graphics contract
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:
@@ -106,7 +106,7 @@ FX polls the latest complete frame on a pulse, copies it to an FX-owned
|
||||
per frame. Logs and frontend projections MUST remain bounded.
|
||||
|
||||
Zoom choices MUST be x1, x2 and x4 with nearest-neighbor presentation. At x1 a
|
||||
480×270 game occupies 480×270 logical pixels, respecting OS scale; it does not mean
|
||||
640×360 game occupies 640×360 logical pixels, respecting OS scale; it does not mean
|
||||
one physical display pixel. Oversized images MUST retain zoom and scroll. The UI
|
||||
MUST NOT silently fit the image or change zoom.
|
||||
|
||||
@@ -117,6 +117,14 @@ shortcuts. Pad keys are arrows, A/D/W/S for A/B/X/Y, Q/E for L/R, Z for Start an
|
||||
Shift for Select. Focus loss and lifecycle changes MUST neutralize held input;
|
||||
native epochs reject input from older execution phases.
|
||||
|
||||
The only native machine output is 640×360 RGBA8888 at 60 Hz. The new JavaFX 2
|
||||
viewport obtains dimensions from complete runtime publications; it MUST NOT keep
|
||||
an independent fallback resolution. Leaving the image cancels an active contact;
|
||||
dragging back while still held MUST NOT recapture without a new press inside.
|
||||
Zoom and scroll continue to operate in JavaFX logical coordinates, with scene
|
||||
transforms accounting for host display scaling. These frontend changes apply to
|
||||
the new UI only; the old UI is outside the current graphics migration scope.
|
||||
|
||||
## Verification and limits
|
||||
|
||||
The product baseline is Java 25, retaining JavaFX 23.0.2. The bundled image uses an
|
||||
|
||||
Reference in New Issue
Block a user