Pyrogenesis trunk
Macros | Functions | Variables
glx.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <glad/glx.h>
Include dependency graph for glx.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_glx_load_GLX_VERSION_1_0 (GLADuserptrloadfunc load, void *userptr)
 
static void glad_glx_load_GLX_VERSION_1_1 (GLADuserptrloadfunc load, void *userptr)
 
static void glad_glx_load_GLX_VERSION_1_2 (GLADuserptrloadfunc load, void *userptr)
 
static void glad_glx_load_GLX_VERSION_1_3 (GLADuserptrloadfunc load, void *userptr)
 
static void glad_glx_load_GLX_VERSION_1_4 (GLADuserptrloadfunc load, void *userptr)
 
static void glad_glx_load_GLX_MESA_query_renderer (GLADuserptrloadfunc load, void *userptr)
 
static void glad_glx_load_GLX_SGI_swap_control (GLADuserptrloadfunc load, void *userptr)
 
static int glad_glx_has_extension (Display *display, int screen, const char *ext)
 
static GLADapiproc glad_glx_get_proc_from_userptr (void *userptr, const char *name)
 
static int glad_glx_find_extensions (Display *display, int screen)
 
static int glad_glx_find_core_glx (Display **display, int *screen)
 
int gladLoadGLXUserPtr (Display *display, int screen, GLADuserptrloadfunc load, void *userptr)
 
int gladLoadGLX (Display *display, int screen, GLADloadfunc load)
 

Variables

int GLAD_GLX_VERSION_1_0 = 0
 
int GLAD_GLX_VERSION_1_1 = 0
 
int GLAD_GLX_VERSION_1_2 = 0
 
int GLAD_GLX_VERSION_1_3 = 0
 
int GLAD_GLX_VERSION_1_4 = 0
 
int GLAD_GLX_MESA_query_renderer = 0
 
int GLAD_GLX_SGI_swap_control = 0
 
PFNGLXCHOOSEFBCONFIGPROC glad_glXChooseFBConfig = NULL
 
PFNGLXCHOOSEVISUALPROC glad_glXChooseVisual = NULL
 
PFNGLXCOPYCONTEXTPROC glad_glXCopyContext = NULL
 
PFNGLXCREATECONTEXTPROC glad_glXCreateContext = NULL
 
PFNGLXCREATEGLXPIXMAPPROC glad_glXCreateGLXPixmap = NULL
 
PFNGLXCREATENEWCONTEXTPROC glad_glXCreateNewContext = NULL
 
PFNGLXCREATEPBUFFERPROC glad_glXCreatePbuffer = NULL
 
PFNGLXCREATEPIXMAPPROC glad_glXCreatePixmap = NULL
 
PFNGLXCREATEWINDOWPROC glad_glXCreateWindow = NULL
 
PFNGLXDESTROYCONTEXTPROC glad_glXDestroyContext = NULL
 
PFNGLXDESTROYGLXPIXMAPPROC glad_glXDestroyGLXPixmap = NULL
 
PFNGLXDESTROYPBUFFERPROC glad_glXDestroyPbuffer = NULL
 
PFNGLXDESTROYPIXMAPPROC glad_glXDestroyPixmap = NULL
 
PFNGLXDESTROYWINDOWPROC glad_glXDestroyWindow = NULL
 
PFNGLXGETCLIENTSTRINGPROC glad_glXGetClientString = NULL
 
PFNGLXGETCONFIGPROC glad_glXGetConfig = NULL
 
PFNGLXGETCURRENTCONTEXTPROC glad_glXGetCurrentContext = NULL
 
PFNGLXGETCURRENTDISPLAYPROC glad_glXGetCurrentDisplay = NULL
 
PFNGLXGETCURRENTDRAWABLEPROC glad_glXGetCurrentDrawable = NULL
 
PFNGLXGETCURRENTREADDRAWABLEPROC glad_glXGetCurrentReadDrawable = NULL
 
PFNGLXGETFBCONFIGATTRIBPROC glad_glXGetFBConfigAttrib = NULL
 
PFNGLXGETFBCONFIGSPROC glad_glXGetFBConfigs = NULL
 
PFNGLXGETPROCADDRESSPROC glad_glXGetProcAddress = NULL
 
PFNGLXGETSELECTEDEVENTPROC glad_glXGetSelectedEvent = NULL
 
PFNGLXGETVISUALFROMFBCONFIGPROC glad_glXGetVisualFromFBConfig = NULL
 
PFNGLXISDIRECTPROC glad_glXIsDirect = NULL
 
PFNGLXMAKECONTEXTCURRENTPROC glad_glXMakeContextCurrent = NULL
 
PFNGLXMAKECURRENTPROC glad_glXMakeCurrent = NULL
 
PFNGLXQUERYCONTEXTPROC glad_glXQueryContext = NULL
 
PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC glad_glXQueryCurrentRendererIntegerMESA = NULL
 
PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC glad_glXQueryCurrentRendererStringMESA = NULL
 
PFNGLXQUERYDRAWABLEPROC glad_glXQueryDrawable = NULL
 
PFNGLXQUERYEXTENSIONPROC glad_glXQueryExtension = NULL
 
PFNGLXQUERYEXTENSIONSSTRINGPROC glad_glXQueryExtensionsString = NULL
 
PFNGLXQUERYRENDERERINTEGERMESAPROC glad_glXQueryRendererIntegerMESA = NULL
 
PFNGLXQUERYRENDERERSTRINGMESAPROC glad_glXQueryRendererStringMESA = NULL
 
PFNGLXQUERYSERVERSTRINGPROC glad_glXQueryServerString = NULL
 
PFNGLXQUERYVERSIONPROC glad_glXQueryVersion = NULL
 
PFNGLXSELECTEVENTPROC glad_glXSelectEvent = NULL
 
PFNGLXSWAPBUFFERSPROC glad_glXSwapBuffers = NULL
 
PFNGLXSWAPINTERVALSGIPROC glad_glXSwapIntervalSGI = NULL
 
PFNGLXUSEXFONTPROC glad_glXUseXFont = NULL
 
PFNGLXWAITGLPROC glad_glXWaitGL = NULL
 
PFNGLXWAITXPROC glad_glXWaitX = 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_glx_find_core_glx()

static int glad_glx_find_core_glx ( Display **  display,
int *  screen 
)
static

◆ glad_glx_find_extensions()

static int glad_glx_find_extensions ( Display *  display,
int  screen 
)
static

◆ glad_glx_get_proc_from_userptr()

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

◆ glad_glx_has_extension()

static int glad_glx_has_extension ( Display *  display,
int  screen,
const char *  ext 
)
static

◆ glad_glx_load_GLX_MESA_query_renderer()

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

◆ glad_glx_load_GLX_SGI_swap_control()

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

◆ glad_glx_load_GLX_VERSION_1_0()

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

◆ glad_glx_load_GLX_VERSION_1_1()

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

◆ glad_glx_load_GLX_VERSION_1_2()

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

◆ glad_glx_load_GLX_VERSION_1_3()

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

◆ glad_glx_load_GLX_VERSION_1_4()

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

◆ gladLoadGLX()

int gladLoadGLX ( Display *  display,
int  screen,
GLADloadfunc  load 
)

◆ gladLoadGLXUserPtr()

int gladLoadGLXUserPtr ( Display *  display,
int  screen,
GLADuserptrloadfunc  load,
void *  userptr 
)

Variable Documentation

◆ GLAD_GLX_MESA_query_renderer

int GLAD_GLX_MESA_query_renderer = 0

◆ GLAD_GLX_SGI_swap_control

int GLAD_GLX_SGI_swap_control = 0

◆ GLAD_GLX_VERSION_1_0

int GLAD_GLX_VERSION_1_0 = 0

◆ GLAD_GLX_VERSION_1_1

int GLAD_GLX_VERSION_1_1 = 0

◆ GLAD_GLX_VERSION_1_2

int GLAD_GLX_VERSION_1_2 = 0

◆ GLAD_GLX_VERSION_1_3

int GLAD_GLX_VERSION_1_3 = 0

◆ GLAD_GLX_VERSION_1_4

int GLAD_GLX_VERSION_1_4 = 0

◆ glad_glXChooseFBConfig

PFNGLXCHOOSEFBCONFIGPROC glad_glXChooseFBConfig = NULL

◆ glad_glXChooseVisual

PFNGLXCHOOSEVISUALPROC glad_glXChooseVisual = NULL

◆ glad_glXCopyContext

PFNGLXCOPYCONTEXTPROC glad_glXCopyContext = NULL

◆ glad_glXCreateContext

PFNGLXCREATECONTEXTPROC glad_glXCreateContext = NULL

◆ glad_glXCreateGLXPixmap

PFNGLXCREATEGLXPIXMAPPROC glad_glXCreateGLXPixmap = NULL

◆ glad_glXCreateNewContext

PFNGLXCREATENEWCONTEXTPROC glad_glXCreateNewContext = NULL

◆ glad_glXCreatePbuffer

PFNGLXCREATEPBUFFERPROC glad_glXCreatePbuffer = NULL

◆ glad_glXCreatePixmap

PFNGLXCREATEPIXMAPPROC glad_glXCreatePixmap = NULL

◆ glad_glXCreateWindow

PFNGLXCREATEWINDOWPROC glad_glXCreateWindow = NULL

◆ glad_glXDestroyContext

PFNGLXDESTROYCONTEXTPROC glad_glXDestroyContext = NULL

◆ glad_glXDestroyGLXPixmap

PFNGLXDESTROYGLXPIXMAPPROC glad_glXDestroyGLXPixmap = NULL

◆ glad_glXDestroyPbuffer

PFNGLXDESTROYPBUFFERPROC glad_glXDestroyPbuffer = NULL

◆ glad_glXDestroyPixmap

PFNGLXDESTROYPIXMAPPROC glad_glXDestroyPixmap = NULL

◆ glad_glXDestroyWindow

PFNGLXDESTROYWINDOWPROC glad_glXDestroyWindow = NULL

◆ glad_glXGetClientString

PFNGLXGETCLIENTSTRINGPROC glad_glXGetClientString = NULL

◆ glad_glXGetConfig

PFNGLXGETCONFIGPROC glad_glXGetConfig = NULL

◆ glad_glXGetCurrentContext

PFNGLXGETCURRENTCONTEXTPROC glad_glXGetCurrentContext = NULL

◆ glad_glXGetCurrentDisplay

PFNGLXGETCURRENTDISPLAYPROC glad_glXGetCurrentDisplay = NULL

◆ glad_glXGetCurrentDrawable

PFNGLXGETCURRENTDRAWABLEPROC glad_glXGetCurrentDrawable = NULL

◆ glad_glXGetCurrentReadDrawable

PFNGLXGETCURRENTREADDRAWABLEPROC glad_glXGetCurrentReadDrawable = NULL

◆ glad_glXGetFBConfigAttrib

PFNGLXGETFBCONFIGATTRIBPROC glad_glXGetFBConfigAttrib = NULL

◆ glad_glXGetFBConfigs

PFNGLXGETFBCONFIGSPROC glad_glXGetFBConfigs = NULL

◆ glad_glXGetProcAddress

PFNGLXGETPROCADDRESSPROC glad_glXGetProcAddress = NULL

◆ glad_glXGetSelectedEvent

PFNGLXGETSELECTEDEVENTPROC glad_glXGetSelectedEvent = NULL

◆ glad_glXGetVisualFromFBConfig

PFNGLXGETVISUALFROMFBCONFIGPROC glad_glXGetVisualFromFBConfig = NULL

◆ glad_glXIsDirect

PFNGLXISDIRECTPROC glad_glXIsDirect = NULL

◆ glad_glXMakeContextCurrent

PFNGLXMAKECONTEXTCURRENTPROC glad_glXMakeContextCurrent = NULL

◆ glad_glXMakeCurrent

PFNGLXMAKECURRENTPROC glad_glXMakeCurrent = NULL

◆ glad_glXQueryContext

PFNGLXQUERYCONTEXTPROC glad_glXQueryContext = NULL

◆ glad_glXQueryCurrentRendererIntegerMESA

PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC glad_glXQueryCurrentRendererIntegerMESA = NULL

◆ glad_glXQueryCurrentRendererStringMESA

PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC glad_glXQueryCurrentRendererStringMESA = NULL

◆ glad_glXQueryDrawable

PFNGLXQUERYDRAWABLEPROC glad_glXQueryDrawable = NULL

◆ glad_glXQueryExtension

PFNGLXQUERYEXTENSIONPROC glad_glXQueryExtension = NULL

◆ glad_glXQueryExtensionsString

PFNGLXQUERYEXTENSIONSSTRINGPROC glad_glXQueryExtensionsString = NULL

◆ glad_glXQueryRendererIntegerMESA

PFNGLXQUERYRENDERERINTEGERMESAPROC glad_glXQueryRendererIntegerMESA = NULL

◆ glad_glXQueryRendererStringMESA

PFNGLXQUERYRENDERERSTRINGMESAPROC glad_glXQueryRendererStringMESA = NULL

◆ glad_glXQueryServerString

PFNGLXQUERYSERVERSTRINGPROC glad_glXQueryServerString = NULL

◆ glad_glXQueryVersion

PFNGLXQUERYVERSIONPROC glad_glXQueryVersion = NULL

◆ glad_glXSelectEvent

PFNGLXSELECTEVENTPROC glad_glXSelectEvent = NULL

◆ glad_glXSwapBuffers

PFNGLXSWAPBUFFERSPROC glad_glXSwapBuffers = NULL

◆ glad_glXSwapIntervalSGI

PFNGLXSWAPINTERVALSGIPROC glad_glXSwapIntervalSGI = NULL

◆ glad_glXUseXFont

PFNGLXUSEXFONTPROC glad_glXUseXFont = NULL

◆ glad_glXWaitGL

PFNGLXWAITGLPROC glad_glXWaitGL = NULL

◆ glad_glXWaitX

PFNGLXWAITXPROC glad_glXWaitX = NULL