CGxDeviceOpenGl::BeginFrame
function · gx · orchestration
- Address
0x59b890· 126 bytes, up to0x59b90d- Signature
void __thiscall (CGxDeviceOpenGl *this, uint32_t mask)- Meaning
- Clears with the mask over the full viewport when capability bit 6 is set
- Confidence
- verified, proof one
- Finding
- ui/movieframe#presenting-mid-frame
Finding: Presenting mid-frame in ui: the movie frame
The draw callback 0x78d680 ends with a tail jump to 0x58a960(3), the device's present slot with mask 3. The present draws the cursor, shows the frame, then clears colour and depth, before the walk goes on. The frame pass's present is skipped while a movie plays; the callback presents when 0x78cf30 returns 1, not at audio time 0, at the end or for the frame shown. The image holds what the walk drew before the callback, and the movie. What it draws after lands in the cleared back buffer, unpresented that pass; unless a later layer clears, it shows under the next present wherever the quad leaves it, and a pass with no new frame adds a walk, no present.
The derivation is in the doc.
Callers 2
Callees 2
- GxSetViewport gx
- 0x592640 gx
Calls and jumps by a bare address, from tables/calls.tsv.