Go to the source code of this file.
◆ QWGL_ARB_extensions_string
#define QWGL_ARB_extensions_string (1 << 0) |
Definition at line 23 of file wgl.h.
◆ QWGL_ARB_multisample
#define QWGL_ARB_multisample (1 << 1) |
Definition at line 24 of file wgl.h.
◆ QWGL_ARB_pixel_format
#define QWGL_ARB_pixel_format (1 << 2) |
Definition at line 25 of file wgl.h.
◆ QWGL_EXT_swap_control
#define QWGL_EXT_swap_control (1 << 3) |
Definition at line 26 of file wgl.h.
◆ QWGL_EXT_swap_control_tear
#define QWGL_EXT_swap_control_tear (1 << 4) |
Definition at line 27 of file wgl.h.
◆ BOOL()
BOOL |
( |
WINAPI * |
qwglSetPixelFormat | ) |
|
◆ HGLRC()
HGLRC |
( |
WINAPI * |
qwglCreateContext | ) |
|
◆ int()
int |
( |
WINAPI * |
qwglChoosePixelFormat | ) |
|
◆ PROC()
PROC |
( |
WINAPI * |
qwglGetProcAddress | ) |
|
◆ qwglGetExtensionsStringARB()
const char* WINAPI* qwglGetExtensionsStringARB |
( |
HDC |
hdc | ) |
|
◆ qwglGetString()
const GLubyte* APIENTRY* qwglGetString |
( |
GLenum |
name | ) |
|
◆ void()
◆ WGL_Init()
qboolean WGL_Init |
( |
const char * |
dllname | ) |
|
Definition at line 66 of file wgl.c.
72 qwglDrawBuffer =
GPA(
"glDrawBuffer");
75 qwglChoosePixelFormat =
GPA(
"wglChoosePixelFormat");
76 qwglDescribePixelFormat =
GPA(
"wglDescribePixelFormat");
77 qwglSetPixelFormat =
GPA(
"wglSetPixelFormat");
78 qwglSwapBuffers =
GPA(
"wglSwapBuffers");
80 qwglCreateContext =
GPA(
"wglCreateContext");
81 qwglDeleteContext =
GPA(
"wglDeleteContext");
82 qwglGetProcAddress =
GPA(
"wglGetProcAddress");
83 qwglMakeCurrent =
GPA(
"wglMakeCurrent");
Referenced by LoadGL().
◆ WGL_InitExtensions()
void WGL_InitExtensions |
( |
unsigned |
mask | ) |
|
◆ WGL_ParseExtensionString()
unsigned WGL_ParseExtensionString |
( |
const char * |
s | ) |
|
Definition at line 120 of file wgl.c.
123 static const char *
const extnames[] = {
124 "WGL_ARB_extensions_string",
125 "WGL_ARB_multisample",
126 "WGL_ARB_pixel_format",
127 "WGL_EXT_swap_control",
128 "WGL_EXT_swap_control_tear",
132 return Com_ParseExtensionString(s, extnames);
Referenced by GetFakeWindowExtensions(), and VID_Init().
◆ WGL_Shutdown()
Definition at line 41 of file wgl.c.
48 qwglDrawBuffer = NULL;
51 qwglChoosePixelFormat = NULL;
52 qwglDescribePixelFormat = NULL;
53 qwglSetPixelFormat = NULL;
54 qwglSwapBuffers = NULL;
56 qwglCreateContext = NULL;
57 qwglDeleteContext = NULL;
58 qwglGetProcAddress = NULL;
59 qwglMakeCurrent = NULL;
Referenced by LoadGL(), and VID_Shutdown().
◆ WGL_ShutdownExtensions()
void WGL_ShutdownExtensions |
( |
unsigned |
mask | ) |
|
Definition at line 90 of file wgl.c.
96 qwglChoosePixelFormatARB = NULL;
99 qwglSwapIntervalEXT = NULL;
Referenced by WGL_Shutdown().
◆ HGLRC
Definition at line 46 of file wgl.h.
◆ int
Definition at line 39 of file wgl.h.
◆ LPPIXELFORMATDESCRIPTOR
CONST PIXELFORMATDESCRIPTOR LPPIXELFORMATDESCRIPTOR |
Definition at line 39 of file wgl.h.
◆ UINT
const int const FLOAT UINT |
Definition at line 39 of file wgl.h.