Data Structures |
| struct | POPENGL_INFO |
Defines |
| #define | OPENGL32_GL_FUNC_PROTOTYPES |
| #define | UNIMPLEMENTED DBGPRINT( "UNIMPLEMENTED" ) |
| #define | X(func, ret, typeargs, args, icdidx, tebidx, stack) |
| #define | X(func, ret, typeargs, args, icdidx, tebidx, stack) |
| #define | BUFFERDEPTH_SCORE(want, have) ((want == 0) ? (0) : ((want < have) ? (1) : ((want > have) ? (3) : (0)))) |
| | Attempts to find the best matching pixel format for HDC.
|
| #define | FLAG_SCORE(want, have, flag) (((want & ~have) & flag) ? (1) : (0)) |
| #define | FLAG_SCORE_DONTCARE(want, have, flag) ((!(have & flag ## _DONTCARE)) && ((want & flag) != (have & flag)) ? (1) : (0)) |
Functions |
| static void | ROSGL_AppendContext (GLRC *glrc) |
| | Append OpenGL Rendering Context (GLRC) to list.
|
| static void | ROSGL_RemoveContext (GLRC *glrc) |
| | Remove OpenGL Rendering Context (GLRC) from list.
|
| static GLRC * | ROSGL_NewContext (void) |
| | Create a new GL Context (GLRC) and append it to the list.
|
| static VOID | ROSGL_DeleteDCDataForICD (GLDRIVERDATA *icd) |
| | Delete all GLDCDATA with this IDC.
|
| static BOOL | ROSGL_DeleteContext (GLRC *glrc) |
| | Delete a GL Context (GLRC) and remove it from the list.
|
| static BOOL | ROSGL_ContainsContext (GLRC *glrc) |
| | Check wether a GLRC is in the list.
|
| static GLDCDATA * | ROSGL_GetPrivateDCData (HDC hdc) |
| | Get GL private DC data.
|
| static GLDRIVERDATA * | ROSGL_ICDForHDC (HDC hdc) |
| | Get ICD from HDC.
|
| DWORD CALLBACK | ROSGL_SetContextCallBack (const ICDTable *table) |
| | SetContextCallBack passed to DrvSetContext.
|
| int APIENTRY | rosglChoosePixelFormat (HDC hdc, CONST PIXELFORMATDESCRIPTOR *pfd) |
| BOOL APIENTRY | rosglCopyContext (HGLRC hsrc, HGLRC hdst, UINT mask) |
| | Copy data specified by mask from one GLRC to another.
|
| HGLRC APIENTRY | rosglCreateLayerContext (HDC hdc, int layer) |
| | Create a new GL Rendering Context.
|
| HGLRC APIENTRY | rosglCreateContext (HDC hdc) |
| | Create a new GL Rendering Context.
|
| BOOL APIENTRY | rosglDeleteContext (HGLRC hglrc) |
| | Delete an OpenGL context.
|
| BOOL APIENTRY | rosglDescribeLayerPlane (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nBytes, LPLAYERPLANEDESCRIPTOR plpd) |
| int APIENTRY | rosglDescribePixelFormat (HDC hdc, int iFormat, UINT nBytes, LPPIXELFORMATDESCRIPTOR pfd) |
| | Gets information about a pixelformat.
|
| HGLRC APIENTRY | rosglGetCurrentContext () |
| | Return the thread's current GLRC.
|
| HDC APIENTRY | rosglGetCurrentDC () |
| | Return the thread's current DC.
|
| int APIENTRY | rosglGetLayerPaletteEntries (HDC hdc, int iLayerPlane, int iStart, int cEntries, COLORREF *pcr) |
| int WINAPI | rosglGetPixelFormat (HDC hdc) |
| | Returns the current pixelformat.
|
| PROC APIENTRY | rosglGetProcAddress (LPCSTR proc) |
| | Get the address for an OpenGL extension function.
|
| PROC APIENTRY | rosglGetDefaultProcAddress (LPCSTR proc) |
| BOOL APIENTRY | rosglMakeCurrent (HDC hdc, HGLRC hglrc) |
| | Make the given GLRC the threads current GLRC for hdc.
|
| BOOL APIENTRY | rosglRealizeLayerPalette (HDC hdc, int iLayerPlane, BOOL bRealize) |
| int APIENTRY | rosglSetLayerPaletteEntries (HDC hdc, int iLayerPlane, int iStart, int cEntries, CONST COLORREF *pcr) |
| BOOL WINAPI | rosglSetPixelFormat (HDC hdc, int iFormat, CONST PIXELFORMATDESCRIPTOR *pfd) |
| | Set a DCs pixelformat.
|
| BOOL APIENTRY | rosglShareLists (HGLRC hglrc1, HGLRC hglrc2) |
| | Enable display-list sharing between multiple GLRCs.
|
| BOOL APIENTRY | rosglSwapBuffers (HDC hdc) |
| | Flushes GL and swaps front/back buffer if appropriate.
|
| BOOL APIENTRY | rosglSwapLayerBuffers (HDC hdc, UINT fuPlanes) |
| BOOL APIENTRY | rosglUseFontBitmapsA (HDC hdc, DWORD first, DWORD count, DWORD listBase) |
| BOOL APIENTRY | rosglUseFontBitmapsW (HDC hdc, DWORD first, DWORD count, DWORD listBase) |
| BOOL APIENTRY | rosglUseFontOutlinesA (HDC hdc, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, GLYPHMETRICSFLOAT *pgmf) |
| BOOL APIENTRY | rosglUseFontOutlinesW (HDC hdc, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, GLYPHMETRICSFLOAT *pgmf) |