Defines |
| #define | GLDERR_NONE 0 |
| #define | GLDERR_MEM 1 |
| #define | GLDERR_DDRAW 2 |
| #define | GLDERR_D3D 3 |
| #define | GLDERR_BPP 4 |
| #define | VENDORID_ATI 0x1002 |
| #define | DDLOG_CRITICAL_OR_WARN (bFallback ? DDLOG_CRITICAL : DDLOG_WARN) |
| #define | WARN_MESSAGE(p) strcpy(argstr, (#p)); |
| #define | SAFE_RELEASE(p) WARN_MESSAGE(p); RELEASE(p); |
Functions |
| static void | DetectOS (void) |
| LONG __stdcall | GLD_EventWndProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| BOOL | dglIsValidContext (HGLRC a) |
| DGL_ctx * | dglGetContextAddress (const HGLRC a) |
| HGLRC | dglGetCurrentContext (void) |
| void | dglSetCurrentContext (HGLRC hGLRC) |
| HDC | dglGetCurrentDC (void) |
| void | dglInitContextState () |
| void | dglDeleteContextState () |
| static LONG __stdcall | dglWndProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| LRESULT CALLBACK | dglKeyProc (int code, WPARAM wParam, LPARAM lParam) |
| BOOL CALLBACK | dglEnumChildProc (HWND hWnd, LPARAM lParam) |
| HWND | dglFindWindowRect (RECT *pRect) |
| void | dglChooseDisplayMode (DGL_ctx *lpCtx) |
| static BOOL | IsDevice (DWORD *lpDeviceIdList, DWORD dwDeviceId, int count) |
| void | dglTestForBrokenCards (DGL_ctx *lpCtx) |
| BOOL | dglCreateContextBuffers (HDC a, DGL_ctx *lpCtx, BOOL bFallback) |
| HGLRC | dglCreateContext (HDC a, const DGL_pixelFormat *lpPF) |
| BOOL | dglMakeCurrent (HDC a, HGLRC b) |
| BOOL | dglDeleteContext (HGLRC a) |
| BOOL | dglSwapBuffers (HDC hDC) |
Variables |
| char | szResourceWarning [] = "to obtain satisfactory OpenGL performance.\n" |
| char | szDDrawWarning [] = "for further information.\n" |
| char | szD3DWarning [] = "further information.\n" |
| char | szBPPWarning [] = "color depth with the Display Settings control panel.\n" |
| int | nContextError = GLDERR_NONE |
| static DWORD | devATIRagePro [] |
| static DWORD | devATIRageIIplus [] |
| DGL_mesaFuncs | mesaFuncs |
| DWORD | dwLogging |
| HGLRC | iCurrentContext = 0 |
| BOOL | bContextReady = FALSE |
| DGL_ctx | ctxlist [DGL_MAX_CONTEXTS] |
| static BOOL | bHaveWin95 = FALSE |
| static BOOL | bHaveWinNT = FALSE |
| static BOOL | bHaveWin2K = FALSE |
| HWND | hWndEvent = NULL |
| HWND | hWndLastActive = NULL |
| HWND | hWndMatch |