Gfx GX Fn GXBeginDisplayList - wowjinxy/libPorpoise GitHub Wiki
GXBeginDisplayList
Category: Display List
Matrix Status: Implemented
Matrix Notes: Verified PC backend behavior against docs: recording mode start, nested-call guard, and 32-byte alignment/size validation for list buffer.
Matrix Link: Gfx-GX-API-Matrix
Official SDK (Reference)
Manual root: reference/rvlsdk/man/en_US/gx
Primary SDK source area: demos/PikminDemo/src/gx (GC-style Dolphin GX source)
Notes:
libPorpoise Implementation
Runtime implementation area: src/gx
Public API surface: include/dolphin/gx
Notes:
SDK vs Porpoise Diff
Signature parity:
Behavioral parity:
Known divergence:
Validation Checklist
Working Notes
Docs checked against reference/man/gfx/gx/DisplayList/GXBeginDisplayList.html and SDK source in reference/gx/GXDisplayList.c.
Runtime checked in src/gx/pc_gx.c:
Flushes pending primitive state before entering display-list recording (pc_gx_commit_pending_and_flush()).
Enforces non-nested call behavior (if (g_pc_gx_dl.active) return; in non-assert PC path).
Enforces SDK-required buffer constraints:
list non-null
size non-zero and 32-byte aligned
list pointer 32-byte aligned
Initializes DL recording state (active/buf/size/off/overflow) for subsequent GX command capture.
Result: function-level parity is correct for begin-recording semantics; no runtime code changes needed.
🗂️ Page Index for this GitHub Wiki