CGxDeviceOpenGl::EnumPixelFormats
function · gx · host
- Address
0x58d770· 500 bytes, up to0x58d963- Signature
void __fastcall (void *window, void *list)- Meaning
- Lists pixel formats through DescribePixelFormat and adds a record for each window OpenGL format
- Confidence
- verified, proof one
- Finding
- gx/device#opengl-window-and-pixel-formats
Finding: OpenGL window and pixel formats in gx: the device
0x58cf10(window procedure, format) creates the OpenGL window with CreateWindowExA, class GxWindowClassOpenGl (0x809a5c), title World of Warcraft (0x82e42c) and style 0x87000000 for full screen (format byte +7 clear). Windowed it uses 0x06cf0000, or 0x90000000 when byte +9 is set, and sizes the outer rectangle for the client size with AdjustWindowRectEx. A popup takes its size from GetSystemMetrics and a full-screen window from the monitor rectangle. 0x58d470 lists pixel formats through wglGetPixelFormatAttribivARB (0x85a9ec), 0x58d770 through DescribePixelFormat; both add records with 0x591220.
The derivation is in the doc.
Callers 1
Callees 3
- 0x5898d0 gx
- 0x58b6a0 gx
- CGxDevice::AddFormat gx
Calls and jumps by a bare address, from tables/calls.tsv.