Pyrogenesis trunk
Macros | Functions | Variables
wgl.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <glad/wgl.h>
Include dependency graph for wgl.cpp:

Macros

#define GLAD_IMPL_UTIL_C_
 SPDX-License-Identifier: (WTFPL OR CC0-1.0) AND Apache-2.0. More...
 
#define GLAD_IMPL_UTIL_SSCANF   sscanf
 

Functions

static void glad_wgl_load_WGL_ARB_extensions_string (GLADuserptrloadfunc load, void *userptr)
 
static void glad_wgl_load_WGL_EXT_extensions_string (GLADuserptrloadfunc load, void *userptr)
 
static void glad_wgl_load_WGL_EXT_swap_control (GLADuserptrloadfunc load, void *userptr)
 
static int glad_wgl_has_extension (HDC hdc, const char *ext)
 
static GLADapiproc glad_wgl_get_proc_from_userptr (void *userptr, const char *name)
 
static int glad_wgl_find_extensions_wgl (HDC hdc)
 
static int glad_wgl_find_core_wgl (void)
 
int gladLoadWGLUserPtr (HDC hdc, GLADuserptrloadfunc load, void *userptr)
 
int gladLoadWGL (HDC hdc, GLADloadfunc load)
 

Variables

int GLAD_WGL_VERSION_1_0 = 0
 
int GLAD_WGL_ARB_extensions_string = 0
 
int GLAD_WGL_EXT_extensions_string = 0
 
int GLAD_WGL_EXT_swap_control = 0
 
PFNWGLGETEXTENSIONSSTRINGARBPROC glad_wglGetExtensionsStringARB = NULL
 
PFNWGLGETEXTENSIONSSTRINGEXTPROC glad_wglGetExtensionsStringEXT = NULL
 
PFNWGLGETSWAPINTERVALEXTPROC glad_wglGetSwapIntervalEXT = NULL
 
PFNWGLSWAPINTERVALEXTPROC glad_wglSwapIntervalEXT = NULL
 

Macro Definition Documentation

◆ GLAD_IMPL_UTIL_C_

#define GLAD_IMPL_UTIL_C_

SPDX-License-Identifier: (WTFPL OR CC0-1.0) AND Apache-2.0.

◆ GLAD_IMPL_UTIL_SSCANF

#define GLAD_IMPL_UTIL_SSCANF   sscanf

Function Documentation

◆ glad_wgl_find_core_wgl()

static int glad_wgl_find_core_wgl ( void  )
static

◆ glad_wgl_find_extensions_wgl()

static int glad_wgl_find_extensions_wgl ( HDC  hdc)
static

◆ glad_wgl_get_proc_from_userptr()

static GLADapiproc glad_wgl_get_proc_from_userptr ( void *  userptr,
const char *  name 
)
static

◆ glad_wgl_has_extension()

static int glad_wgl_has_extension ( HDC  hdc,
const char *  ext 
)
static

◆ glad_wgl_load_WGL_ARB_extensions_string()

static void glad_wgl_load_WGL_ARB_extensions_string ( GLADuserptrloadfunc  load,
void *  userptr 
)
static

◆ glad_wgl_load_WGL_EXT_extensions_string()

static void glad_wgl_load_WGL_EXT_extensions_string ( GLADuserptrloadfunc  load,
void *  userptr 
)
static

◆ glad_wgl_load_WGL_EXT_swap_control()

static void glad_wgl_load_WGL_EXT_swap_control ( GLADuserptrloadfunc  load,
void *  userptr 
)
static

◆ gladLoadWGL()

int gladLoadWGL ( HDC  hdc,
GLADloadfunc  load 
)

◆ gladLoadWGLUserPtr()

int gladLoadWGLUserPtr ( HDC  hdc,
GLADuserptrloadfunc  load,
void *  userptr 
)

Variable Documentation

◆ GLAD_WGL_ARB_extensions_string

int GLAD_WGL_ARB_extensions_string = 0

◆ GLAD_WGL_EXT_extensions_string

int GLAD_WGL_EXT_extensions_string = 0

◆ GLAD_WGL_EXT_swap_control

int GLAD_WGL_EXT_swap_control = 0

◆ GLAD_WGL_VERSION_1_0

int GLAD_WGL_VERSION_1_0 = 0

◆ glad_wglGetExtensionsStringARB

PFNWGLGETEXTENSIONSSTRINGARBPROC glad_wglGetExtensionsStringARB = NULL

◆ glad_wglGetExtensionsStringEXT

PFNWGLGETEXTENSIONSSTRINGEXTPROC glad_wglGetExtensionsStringEXT = NULL

◆ glad_wglGetSwapIntervalEXT

PFNWGLGETSWAPINTERVALEXTPROC glad_wglGetSwapIntervalEXT = NULL

◆ glad_wglSwapIntervalEXT

PFNWGLSWAPINTERVALEXTPROC glad_wglSwapIntervalEXT = NULL