#include "client.h"
#include "glimp.h"
#include "wgl.h"
Go to the source code of this file.
|
#define | GPA(x) (void *)GetProcAddress(glw.hinstOpenGL, x); |
|
#define | GPA(x) (void *)qwglGetProcAddress(x) |
|
◆ GPA [1/2]
#define GPA |
( |
|
x | ) |
(void *)GetProcAddress(glw.hinstOpenGL, x); |
◆ GPA [2/2]
#define GPA |
( |
|
x | ) |
(void *)qwglGetProcAddress(x) |
◆ BOOL()
const int const FLOAT int UINT * 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
◆ int
CONST PIXELFORMATDESCRIPTOR * int |
Definition at line 26 of file wgl.c.
Referenced by CL_AddExplosionLight(), ClientEndServerFrame(), create_pipeline_layout(), D_CalcGradients(), D_DrawSpans16(), D_DrawTurbulent16(), D_DrawZSpans(), D_WarpScreen(), drs_process(), FloorDivMod(), get_image_position(), GL_DrawWorld(), GL_StateBits(), IMG_ResampleTexture(), inet_pton4(), inet_pton6(), Machinegun_Fire(), OGG_Cmd(), Parse_Footer(), Pickup_Ammo(), PM_SnapPosition(), progress_func(), R_AliasTransformFinalVerts(), R_BuildPolygonFromSurface(), R_DrawParticle(), R_EmitEdge(), R_PolygonDrawSpans(), R_PolygonScanLeftEdge(), R_PolygonScanRightEdge(), R_PolysetCalcGradients(), R_RenderFrame_RTX(), R_RenderWorld(), R_ViewChanged(), S_RawSamples(), sample_polygonal_lights(), sample_surface_verts(), SCR_DrawActive(), SnapToEights(), SV_CalcPings(), SV_Push(), vectoangles(), vectoyaw(), vkpt_pt_init(), vkpt_pt_trace_lighting(), Weapon_RocketLauncher_Fire(), and write_sprite_geometry().
◆ LPPIXELFORMATDESCRIPTOR
CONST PIXELFORMATDESCRIPTOR LPPIXELFORMATDESCRIPTOR |
Definition at line 26 of file wgl.c.
◆ UINT
const int const FLOAT UINT |