CGxDeviceD3d::PresentFrame
function · gx · host
- Address
0x5a1910· 287 bytes, up to0x5a1a2e- Signature
void __thiscall (CGxDeviceD3d *this, uint32_t mask)- Meaning
- Counts the frame, ends the scene, draws the cursor, captures if armed, presents, recovers a lost device, begins a scene
- Confidence
- verified, proof one
- Finding
- gx/device#direct3d-present
Finding: Direct3D present in gx: the device
0x5a1910(mask), slot +0x68, presents: it counts the frame through the base (0x592430), ends the scene (0x5a17a0), draws the cursor (slot +0x14), optionally waits for the GPU, captures if armed (0x592140), calls Present(0, 0, 0, 0) and clears [dev+0xf2c] on failure. It then runs 0x5a1680(mask): a lost device that reports not-reset is reset with new present parameters; mask clears the targets when capability bit 6 is set; BeginScene starts the next frame and sets [dev+0x3a38].
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 5
- OsSleep os
- 0x592140 gx
- CGxDevice::PresentFrame gx
- CGxDeviceD3d::BeginFrame gx
- CGxDeviceD3d::EndScene gx
Calls and jumps by a bare address, from tables/calls.tsv.