GxApplyDirtyStateGL
function · gx · host
- Address
0x59c6d0· 84 bytes, up to0x59c723- Signature
void __thiscall (void *this)- Meaning
- Applies the dirty device states through the GL applicators, the viewport among them
- Confidence
- verified, proof one
- Finding
- ui/modelview#clip-and-depth-clear
Finding: Clip and depth clear in ui: Model frames, camera and paint
Nothing a model frame draws lands outside its rectangle. The orthographic projection maps exactly the
rectangle to the clip volume, and the viewport is the same rectangle, so the rectangle is the clip on
either backend. The Direct3D 9 viewport call bounds the depth clear; the OpenGL path also sets a
scissor equal to the viewport. The device's default API is direct3d. The depth clear runs on every
paint, inside the viewport only; the frame's pixels are drawn into the back buffer.
The derivation is in the doc.
Callers 1
Callees 8
- CGxDevice::FlushRenderState gx
- CGxDeviceOpenGl::FlushAttributes gx
- 0x59c610 gx
- GxApplyViewportGL gx
- CGxDeviceOpenGl::FlushLights gx
- CGxDeviceOpenGl::FlushFillMode gx
- 0x59ca60 gx
- 0x59cdb0 gx
Calls and jumps by a bare address, from tables/calls.tsv.