Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
2261a38
File pages under a buffer joining the residency set are wired by mloc…
seedds Nov 9, 2026
bfa1214
Where Metal's working set is under 8 GB, textures in GPU-only memory …
seedds Nov 9, 2026
3db7eb5
The power line names the threads that make clock waits, with their pr…
seedds Nov 9, 2026
aa82d4c
Ocarina of Time's note: the M1 iPad holds 20 fps at the Great Deku Tr…
seedds Nov 9, 2026
e0209b5
The present takes the shape of the game's crop: a crop whose width / …
seedds Nov 9, 2026
cf623ee
screen_aspect any: a profile's stubs follow any window or screen shap…
seedds Nov 9, 2026
021300a
Probe diagnostics for values the game caches: float arguments, a scan…
seedds Nov 9, 2026
d97bed7
Ocarina of Time fills any window or screen shape, live while playing:…
seedds Nov 9, 2026
a8fe89b
Ocarina of Time's HUD takes the output's shape at its own pixel size …
seedds Nov 9, 2026
2f2c543
Docs for any screen shape: Ocarina of Time's Screen shape section, th…
seedds Nov 9, 2026
6f4c427
file_wire keeps its list when growing it fails: the range it cannot r…
seedds Nov 9, 2026
1c92e40
A shader-code pool's own address keeps it out of the raw pool table: …
seedds Nov 9, 2026
66867a7
OoT3 2b: the frame step calls the GPU slowed only against a reference…
seedds Nov 6, 2026
fb9f13b
OoT5 A-4: a movie the player reads one picture per game frame follows…
seedds Nov 7, 2026
c855a8c
The frame step's GPU reference also matches compute dispatches, so Oc…
seedds Nov 9, 2026
d845268
Docs: Ocarina of Time plays on an iPhone 17 (27-30 fps in Kokiri Fore…
seedds Nov 9, 2026
0e303a6
iOS: a Rotation setting (Automatic, Landscape, Portrait) on the setti…
seedds Nov 9, 2026
e5bc342
iOS: upright, a game that renders any shape fills the space above the…
seedds Nov 9, 2026
7bfa426
screen_aspect any: upright, the vertical angle is held to a square pi…
seedds Nov 9, 2026
c4aae7a
iOS: Portrait layout, Full screen by default: upright, a game that re…
seedds Nov 10, 2026
e0f33bd
screen_aspect any: the shape line no longer adds "screen shape 16:9" …
seedds Nov 10, 2026
2e35fa7
Docs: portrait play on the iPhone (Rotation, Portrait layout, the upr…
seedds Nov 10, 2026
adb6431
OoT-iPhone A-2: a submission's end hands its records to the encode th…
seedds Nov 9, 2026
e73aaac
Frame step: late frames with the GPU idle do not step up, and a longe…
uncraftablexd Nov 9, 2026
1a273e8
OoT-iPhone B-2: frames late at a 30 fps cap's hold 2 are shown at the…
seedds Nov 9, 2026
99a52c8
OoT-iPhone B-3: the frame step's log lines name the cap, the longest …
seedds Nov 9, 2026
4850da5
OoT-iPhone B-2: the 60 Hz link that shows a 30 fps cap's late frames …
seedds Nov 9, 2026
3a625e5
OoT-iPhone B-1: why a 30 fps cap's late frames left a 66.7 ms gap abo…
seedds Nov 9, 2026
47412a7
OoT-iPhone B-3: the game-time line counts the switches to the next vs…
seedds Nov 9, 2026
2fa00c2
OoT-iPhone A (merge): the 20 graphics tests that build nvn_mtl.m and …
seedds Nov 10, 2026
1d91b35
OoT-iPhone B-1: the iPhone's numbers with late frames at the next vsy…
seedds Nov 10, 2026
d17df17
OoT-iPhone A-2 docs: the iPhone 17 frame's profile, the fix's A/B, an…
seedds Nov 10, 2026
f0e390e
DM_NVN_GPUPROF_GEOM=1 stamps each render pass where its vertex and me…
seedds Nov 8, 2026
0ca0186
OoT-iPhone A-1: DM_NVN_GPUPROF logs the host's CPU timeline beside a …
seedds Nov 9, 2026
e66db18
OoT-iPhone A-1 docs: the game note's iPhone 17 table names DM_NVN_GPU…
seedds Nov 10, 2026
3a181b6
test_env_switches passes again: DM_NVN_SUB_DRAIN has its row, and thr…
seedds Nov 10, 2026
1eac389
OoT-iPhone: test_oot_aspect's camera and shape helpers take a float c…
seedds Nov 10, 2026
8a8fb0b
OoT-iPhone: the Python lint baseline drops test_gpuprof.py's unused o…
seedds Nov 10, 2026
ed769e9
OoT-iPhone B-4: Ocarina of Time's smoke route, so regress.py check bo…
seedds Nov 10, 2026
4283410
Ocarina of Time's output-size stub keeps the size it hands the setter…
seedds Nov 10, 2026
e26ff09
iPhone memory 1: large sampled textures leave out their largest level…
seedds Nov 10, 2026
d78ddfa
iPhone memory 1b: the image flag no longer keeps a large sampled text…
seedds Nov 10, 2026
f9f1aa9
Docs for smaller textures on small devices: a memory.md entry with th…
seedds Nov 10, 2026
c5a352e
MetalFX draws Ocarina of Time's upscaler: the shader map's agl_ndsr_v…
seedds Nov 10, 2026
9612bc4
Upload staging is released after each batch where Metal's working set…
seedds Nov 10, 2026
42279e5
DM_SCREEN_PIXELS holds a picture in another shape than 16:9 to a shar…
seedds Nov 10, 2026
5af0e6e
Ocarina of Time's note: the iPhone 17 played through the Great Deku T…
seedds Nov 10, 2026
dbe335e
iPhone memory 2a: a probe of what a shader gets through a pointer to …
seedds Nov 10, 2026
845fdb3
iPhone memory 2b: a read through a pointer to a buffer outside the re…
seedds Nov 10, 2026
5e5be14
iPhone memory: the census counts a heap once and says who holds the t…
seedds Nov 11, 2026
098362b
iPhone memory: memory pressure trims what no frame needs, and the mem…
seedds Nov 11, 2026
bbed3b3
iPhone memory: an upload batch's reads over guest memory have a budge…
seedds Nov 11, 2026
d07be66
iPhone memory docs: the system's memory and the pressure trim, the up…
seedds Nov 11, 2026
e3193df
iPhone memory docs: the iPhone 17 run with the trim lived through Hyr…
seedds Nov 11, 2026
23d12a5
iPhone memory docs: back on the field after the castle town the iPhon…
seedds Nov 11, 2026
93ff62f
iPhone memory docs: the iPhone 17 run with the trim ended for proc-th…
seedds Nov 11, 2026
cb57493
iPhone memory 2: the residency set is described at each memory pressu…
seedds Nov 11, 2026
29b351d
iPhone memory 2: the census says who holds every texture in the resid…
seedds Nov 11, 2026
28083ec
iPhone memory 2 docs: what the residency set holds across loads on th…
seedds Nov 11, 2026
0832d01
iPhone memory 2 docs: the iPhone 17 run with the measuring build live…
seedds Nov 11, 2026
1df6607
iPhone memory 3: a packaged texture's spare that no re-upload took wi…
seedds Nov 11, 2026
c680394
iPhone memory 3: no rule says beforehand which pools a raw-memory sha…
seedds Nov 11, 2026
d634521
iPhone memory 3: at memory pressure, the Metal copies of uploaded tex…
seedds Nov 11, 2026
7374881
iPhone memory 3 docs: the re-uploads' spares, the uploaded textures f…
seedds Nov 11, 2026
c7ebf30
iPhone memory 3 docs: the iPhone 17 lived through 120 loads with trim…
seedds Nov 12, 2026
408e1b4
iPhone memory: DM_NVN_MEM_PRESSURE and DM_NVN_UPLOAD_SRC_MB have thei…
seedds Nov 12, 2026
36e013e
Ocarina of Time: pso_mtl4 on, so the iPhone and the iPad take render …
seedds Nov 12, 2026
b8cb0bd
nvn: give the whole-again texture warning its own RED_ONCE key
seedds Nov 12, 2026
4fc17cb
OoT-night N-1: submissions that end while the GPU still runs an earli…
seedds Nov 14, 2026
52d5c6a
OoT-night N-1: held submissions keep their own command buffers, so an…
seedds Nov 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Docs: portrait play on the iPhone (Rotation, Portrait layout, the upr…
…ight cap), measured on an iPhone 17 with Ocarina of Time

The game note's Screen shape section follows the picture area upright
(Full screen 0.46:1, capped; Picture above controls 1.07:1), records the
upright cap and the HUD upright, and the six iPhone runs: every shape in
proportion, the same frame rate upright and in landscape, and the one-frame
present crop red line while the window textures grow. The iOS layouts
reference entry gains the symptoms, the fix, the harness checks and the
iPhone test; the symptom index is regenerated.
  • Loading branch information
seedds committed Nov 12, 2026
commit 2e35fa7dcbe65f9c9182fea2be0fbf5bbbb28770
9 changes: 6 additions & 3 deletions dm/games/0400486024DEC000/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Current (2026-11-09): plays on an M1 iPad Pro (11-inch, 3rd generation, `iPad13,

## Screen shape

Current. With `screen_aspect any` (launcher *Picture shape*, `DM_SCREEN_ASPECT`, `auto` by default) the game renders in the shape of the Mac window, live while playing, any shape from 0.25 to 6 (`loader.c` `SCREEN_MIN` / `SCREEN_MAX`, only to keep out a window a few pixels high). On iOS it follows the screen in landscape; upright it stays 16:9 (`front_ios.m`). The stubs are function-matched `others` of the frame-step rule in [`patches.py`](patches.py), found on v131072 `main` (build `e0f3ccfa…`):
Current. With `screen_aspect any` (launcher *Picture shape*, `DM_SCREEN_ASPECT`, `auto` by default) the game renders in the shape of the Mac window, live while playing, any shape from 0.25 to 6 (`loader.c` `SCREEN_MIN` / `SCREEN_MAX`, only to keep out a window a few pixels high). On iOS it follows the space the picture has (`front_ios.m`, [iOS layouts](../../../docs/reference/rendering.md#ios-layouts-portrait-a-half-folded-duo-ipad-windows)): the screen in landscape; upright ([Rotation](../../../docs/settings.md#rotation) Portrait on an iPhone, or an iPad turned) the whole screen with the touch controls over its lower half ([Portrait layout](../../../docs/settings.md#portrait-layout) Full screen, the default; 0.46:1 on an iPhone 17), or the part above the controls (Picture above controls; 402x375 points, 1.07:1). The stubs are function-matched `others` of the frame-step rule in [`patches.py`](patches.py), found on v131072 `main` (build `e0f3ccfa…`):

| Label | Function | What the stub does |
|---|---|---|
Expand All @@ -103,11 +103,14 @@ Current. With `screen_aspect any` (launcher *Picture shape*, `DM_SCREEN_ASPECT`,
| `hud upload` | `main+0x2d2ba0` (+0x4c) | the screen draw's copy of its uniform block (both orthographic matrices and the layout size): rows x / y × the HUD's multipliers, the size ÷ them, each frame |
| `layout size` | `main+0x583fd0`, the getter of a layout file's screen size | the size the HUD draws with, for the game's conversions between the layout space and the screen; the screen's init (`screen init`, `main+0x773b90`) still gets the file's |

- **The rule.** Landscape wider than 16:9 keeps the vertical angle and shows more at the sides; between 1:1 and 16:9 it keeps the horizontal angle and shows more above and below. Upright takes the scale of the same screen turned landscape: its width gets what that screen's height gets, so turning a phone or a window keeps the characters' size and shows another part of the world. The output keeps the requested height (wider) or width (taller), scaled down to 1.5× the requested pixels past that (a phone upright renders 1280x2768).
- **The rule.** Landscape wider than 16:9 keeps the vertical angle and shows more at the sides; between 1:1 and 16:9 it keeps the horizontal angle and shows more above and below. Upright takes the scale of the same screen turned landscape: its width gets what that screen's height gets, so turning a phone or a window keeps the characters' size and shows another part of the world, up to the upright cap below. The output keeps the requested height (wider) or width (taller), scaled down to 1.5× the requested pixels past that (a phone upright renders 1280x2768).
- **Why the first attempts changed nothing:** the projection is cached ([a camera that caches its matrix](../../../docs/reference/rendering.md#a-screen-shape-stub-on-the-projection-setter-changes-nothing-the-camera-caches-its-matrix)): `PerspectiveProjection::set`, `tanf` and the 16/9 literals do not run in play. Found with `DM_PROBE_FINDMAT` and the write watch on the render camera's matrix.
- **The HUD** (eui: layouts `UI/Layout2Archive/*.blarc.zs`). Every layout file holds a screen size of 3840x2160 (LayoutResData +0x200, file offset 0x2f8); each screen builds its orthographic projection from it once and copies it to the GPU each frame, so the HUD was drawn in a 16:9 space stretched over the output. The `hud upload` stub gives that space the output's shape at the HUD's pixel size: its multipliers are the camera's divided by the largest of them and 1, so in landscape the HUD keeps the size it has at 16:9 of the same height or width, and upright the whole 16:9 space still fits the width (smaller, nothing cut off). Checked on the Mac with live resizes (iPhone and iPad shapes upright and landscape, 1700x478, 16:9), the pause menu, the "A Open" prompt and the Kokiri Forest cutscene with its location card at 2.2.
- **Open: the HUD's edges.** eui places every pane about the screen's centre and does not anchor to its edges (a copy of PlayerStatus_00 made 4752 wide drew round hearts at their 16:9 place), so the HUD keeps its 16:9 arrangement in the middle: in wide shapes the hearts are at the 16:9 band's left edge, not the window's; upright the HUD sits around mid-height. The layouts mark their edge groups with 60x80 null panes at the space's edges (PlayerStatus_00's `N_ScaleL_00` at (-1920, 1078), `N_ScaleR_00` at (1920, 1078); MenuOverlay_00's at (0, ±1000)), and full-screen panes are exactly 3840x2160 at the centre (EventFade_00, LoadingFade_00, MenuBG_00): moving the first to the screen's edges and stretching the second needs eui's per-frame pane transform, not found yet. A pane instance (0xb0 bytes in the layout's array, layout +0x100) holds size +0x58, scale +0x60, rotation +0x68, translation +0x6c, a local rect +0x84..+0x90 and flags +0xa8, but no world matrix and no link to its record in the file. Until then the pause menu's backdrop and fades cover the 16:9 middle only, with the scene at the sides.
- **Open:** upright on iOS (16:9 for now); upright, a phone sees about 90° vertically, so parts of the world the game never shows (above Link's house) appear unbuilt: a cap on the vertical angle was offered, not decided. The title movie and other videos stay 16:9 with bars.
- **The upright cap** (current). Upright, the rule alone gave a phone (0.46:1) about 90° vertically against the game's 50° at 16:9, so parts of the world the game never shows (above Link's house) appeared unbuilt. The loader now holds an upright picture to the vertical angle of a square (79°), the width narrowing instead (`loader.c` `screen_upright_cap`; `DM_SCREEN_UPRIGHT_FOV`: `0` off, `1.777` the game's own angle). Portrait layout Full screen (0.46:1 on an iPhone) and a tall Mac window are capped; the picture above an iPhone's controls (1.07:1) is landscape and is not. The HUD's multipliers do not change with it.
- **The HUD upright** (current, nothing changed). The 16:9 HUD space fits the picture's width and sits at mid-height: full screen on an iPhone a 402x226-point band at mid-height, about where the controls' top edge is; above the controls one in the 402x375 picture. The `hud upload` stub can only scale that space as a whole, and larger would cut off its sides; moving the hearts and buttons to the picture's edges is the open item above.
- **Upright on the iPhone 17** (current, 2026-11-10; 3-minute runs to Kokiri Forest, `$W/ipad/device/pD_portrait_full`, `pE_portrait_split`, `pF_landscape`, and `pA`..`pC` before Portrait layout existed). Rotation Portrait turned the phone upright at launch (`front end: rotation portrait`). Portrait layout Full screen (`layout portrait full screen, controls over the picture`) rendered the whole screen's 0.46:1 as 1200x2600 (camera x 2.174 y 0.562, `upright cap`): Link in proportion and the trees above him fully built. Picture above controls rendered 1.072:1 (a 1824x1704 crop, camera x 1.000 y 0.603, not capped). Rotation Landscape gave 2352x1080 (2.178:1). Each run was in proportion, with the hearts at the left of the 16:9 band. The frame rate was the same upright and in landscape (13-21 fps at thermal state 2 in all six), so the shape costs nothing measurable. The screenshots are the game's texture: the touch controls over the full-screen picture are seen only on the phone. A first upright shape logs one `[RED] present crop out of bounds` (1824x1704 against 2560x1440): `window crop` grows the textures at setCrop, they are re-created at the next acquire, and the present between them is dropped. A single frame, so left as it is.
- **Open:** the title movie and other videos stay 16:9 with bars.

## Saves

Expand Down
2 changes: 1 addition & 1 deletion docs/agents/symptoms.md
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ One line per symptom in the [subsystem references](../reference/): what you see
- a program whose shaders were deleted after `glAttachShader` and before `glLinkProgram` logs `program N: a shader is missing from the library, its draws are skipped`, or links a shader of the wrong stage; draws after `glDeleteProgram` of the current program log `draw with no usable program (0)`. → [GL shaders and programs deleted while in use](../reference/rendering.md#gl-shaders-and-programs-deleted-while-in-use)
- an image-only fragment draw's writes disappear from the subresource also bound as its color attachment when the pass ends; other image layers retain their writes. → [Image stores into an attachment of their own pass](../reference/rendering.md#image-stores-into-an-attachment-of-their-own-pass)
- read-only depth/stencil attachments are written back after every pass, and the periodic unwritten-store savings counter remains zero with the default configuration. → [Unwritten attachment stores without lookahead](../reference/rendering.md#unwritten-attachment-stores-without-lookahead)
- portrait gameplay overlaps the touch controls, touch coordinates land outside the game picture, or a TV's picture renders at 4K again after a layout pass. → [iOS layouts: portrait, a half-folded Duo, iPad windows](../reference/rendering.md#ios-layouts-portrait-a-half-folded-duo-ipad-windows)
- portrait gameplay overlaps the touch controls, touch coordinates land outside the game picture, or a TV's picture renders at 4K again after a layout pass; an iPhone cannot be played upright; upright, a game that renders any shape shows a small 16:9 picture with bars above the controls. → [iOS layouts: portrait, a half-folded Duo, iPad windows](../reference/rendering.md#ios-layouts-portrait-a-half-folded-duo-ipad-windows)
- with *Picture shape* at 1.43:1 (`DM_SCREEN_ASPECT`) the game renders 1920x1344, but on an iPhone Duo in Fit (the default) the picture comes out smaller than the 16:9 one, with black bars on all four sides; it fills the screen only in Fill. On the Mac a click lands off the point under the pointer (it was mapped on a 16:9 rectangle of the window). → [The picture laid out in the shape the game presents](../reference/rendering.md#the-picture-laid-out-in-the-shape-the-game-presents)
- with a wider or taller output (`DM_SCREEN_ASPECT`) the picture is stretched although a stub changes the aspect `sead::PerspectiveProjection::set` receives, or the 16:9 constants the code holds; the HUD stays stretched over the output too. → [A screen-shape stub on the projection setter changes nothing: the camera caches its matrix](../reference/rendering.md#a-screen-shape-stub-on-the-projection-setter-changes-nothing-the-camera-caches-its-matrix)

Expand Down
8 changes: 4 additions & 4 deletions docs/reference/rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -1849,11 +1849,11 @@ Digimon Story Cyber Sleuth: Complete Edition (Media.Vision's MVGL engine, SDK 6.

### iOS layouts: portrait, a half-folded Duo, iPad windows

- **Symptom:** portrait gameplay overlaps the touch controls, touch coordinates land outside the game picture, or a TV's picture renders at 4K again after a layout pass.
- **Symptom:** portrait gameplay overlaps the touch controls, touch coordinates land outside the game picture, or a TV's picture renders at 4K again after a layout pass; an iPhone cannot be played upright; upright, a game that renders any shape shows a small 16:9 picture with bars above the controls.
- **Cause:** the front end assumed a landscape screen with the controls over the whole view, so its picture and touch geometry did not follow a portrait screen (an iPad, an iPhone Duo's inner display) or a Duo's fold. On iPadOS the deprecated `UIRequiresFullScreen` kept the game out of resizable windows, and a native rotation A/B on the iPhone Duo iOS 27.1 simulator showed that it also blocked upside-down portrait.
- **Fix:** `dm/ios/Sources/DmLayout.h` computes the picture and controls rectangles from the view's bounds, its safe area and UIKit's division region (`UIHingeInteraction`, iOS 27.1); front_ios.m lays the views out from them and DmGamepad.m its controls. Landscape keeps the overlay unless the hinge is half open over a horizontal division; portrait puts a fitted 16:9 picture above the controls, at the division or the midpoint. On a Duo in portrait only the top safe-area inset applies. Game touches map through the picture rectangle (with [Fill](../settings.md#picture), larger than the view), and a layout change releases held inputs. The phone's orientation list stays landscape (the Duo's inner display follows its bounds), the iPad's has all four and no `UIRequiresFullScreen`. While a TV shows the picture the phone is all controls (`dm_layout_pad_only`). The drawable's scale is set in one place, `DmGameView layoutSubviews`: the screen's pixels, at most `maxPixelWidth` across, which the TV sets to 1920, so a later layout pass cannot undo the TV's 1080p cap.
- **Check:** the [Duo harness](../../dm/ios/tests/duo/README.md) tests layout, hit targets, touches, the in-game menu's live settings and the drawable cap in the Simulator with synthetic host state. A physical Duo was tested by the PR #683 author on their fork; full-game tests on a physical iPad and a Duo with this repository's build are open.
- **Found on:** [Pokémon Brilliant Diamond](../../dm/games/0100000011D90000/README.md).
- **Fix:** `dm/ios/Sources/DmLayout.h` computes the picture and controls rectangles from the view's bounds, its safe area and UIKit's division region (`UIHingeInteraction`, iOS 27.1); front_ios.m lays the views out from them and DmGamepad.m its controls. Landscape keeps the overlay unless the hinge is half open over a horizontal division; portrait puts a fitted 16:9 picture above the controls, at the division or the midpoint. On a Duo in portrait only the top safe-area inset applies. Game touches map through the picture rectangle (with [Fill](../settings.md#picture), larger than the view), and a layout change releases held inputs. The phone's Info.plist orientation list stays landscape (the Duo's inner display follows its bounds), the iPad's has all four and no `UIRequiresFullScreen`. [Rotation](../settings.md#rotation) (`DM_ROTATION`: `auto`, `landscape`, `portrait`) is answered by the app delegate's `application:supportedInterfaceOrientationsForWindow:` (main.m, front_ios.m `front_ios_app_orientations`), which replaces that list, so a phone can be locked upright; `auto` returns the list itself, so nothing changes by default. The root view controller and the launcher's `DmHostingController` allow every orientation under `auto` and the locked ones otherwise (`dm_rotation_vc_mask`); a pick on the settings screen or in the in-game menu calls `setNeedsUpdateOfSupportedInterfaceOrientations` on every view controller and, when the window's orientation is no longer allowed, `requestGeometryUpdate`, which turns it at once. `DmLayout.area` is where the picture may go: the view in the overlay layout, the part above the controls in a split, the whole safe area upright while a controller hides the controls (`dm_layout_controls_hidden`; a half-folded Duo keeps its split). A profile with `screen_aspect any` is handed that area's shape (`front_view_aspect`, `dm_screen_view_changed`; on a TV the TV's). Upright it follows [Portrait layout](../settings.md#portrait-layout) (`DM_PORTRAIT_LAYOUT`): `full`, the default, makes the area the whole view and keeps the controls in the lower half, drawn over the picture (`dm_layout_full_picture`), so the game renders the screen's shape (0.46:1 on an iPhone); `split` renders the space above the controls (402x375 points, 1.07:1, on an iPhone 17). Other profiles keep the 16:9 picture fitted above the controls. Fill applies only to a landscape view. While a TV shows the picture the phone is all controls (`dm_layout_pad_only`). The drawable's scale is set in one place, `DmGameView layoutSubviews`: the screen's pixels, at most `maxPixelWidth` across, which the TV sets to 1920, so a later layout pass cannot undo the TV's 1080p cap.
- **Check:** the [Duo harness](../../dm/ios/tests/duo/README.md) tests layout, hit targets, touches, the in-game menu's live settings, the drawable cap, the Rotation masks with a real turn of the Simulator's window, and the picture area's shape handed to the host, in the Simulator with synthetic host state. A physical Duo was tested by the PR #683 author on their fork; Portrait play (Rotation, both Portrait layouts, the upright cap) ran on an iPhone 17 with Ocarina of Time ([game note](../../dm/games/0400486024DEC000/README.md#screen-shape)); full-game tests on a physical iPad and a Duo with this repository's build are open.
- **Found on:** [Pokémon Brilliant Diamond](../../dm/games/0100000011D90000/README.md); portrait play and the picture area's shape on [Ocarina of Time](../../dm/games/0400486024DEC000/README.md#screen-shape).

### The picture laid out in the shape the game presents

Expand Down