benilla-re systems structs docs

RunFramePass

function · unassigned · orchestration

Address
0x442350 · 921 bytes, up to 0x4426e8
Signature
uint32_t __fastcall (void *payload, void *argument)
Meaning
Clips the screen layers, calls each visible one with the elapsed time, presents and clears the time
Confidence
verified, proof one
Finding
core/framepass#pass-order
Test
core::frame_pass_matches_binary

Finding: Pass order in core: the frame pass

The pass reads the device viewport, runs the clip walk, then calls the visible layers. Before each call it sets the viewport to the visible rectangle, or to the unit square with flag bit 2, and with bit 1 an identity view and an orthographic projection of the visible rectangle from 0 to 500. It then restores the viewport, runs the font frame, presents unless a movie plays (gx/capture), clears the elapsed time, and sleeps 250 ms when the device reports itself inactive. It returns 1.

The derivation is in the doc.

Callers 1

Callees 16

Calls and jumps by a bare address, from tables/calls.tsv.