Pyrogenesis trunk
Classes | Macros | Typedefs | Functions | Variables
glx.h File Reference
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <glad/gl.h>
#include <inttypes.h>
Include dependency graph for glx.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GLXPbufferClobberEvent
 
struct  GLXBufferSwapComplete
 
union  __GLXEvent
 
struct  GLXStereoNotifyEventEXT
 
struct  GLXBufferClobberEventSGIX
 
struct  GLXHyperpipeNetworkSGIX
 
struct  GLXHyperpipeConfigSGIX
 
struct  GLXPipeRect
 
struct  GLXPipeRectLimits
 

Macros

#define GLX_H   1
 Loader generated by glad 2.0.7 on Sat Sep 7 20:28:17 2024. More...
 
#define GLAD_GLX
 
#define GLAD_PLATFORM_H_
 
#define GLAD_PLATFORM_WIN32   0
 
#define GLAD_PLATFORM_APPLE   0
 
#define GLAD_PLATFORM_EMSCRIPTEN   0
 
#define GLAD_PLATFORM_UWP   0
 
#define GLAD_GNUC_EXTENSION
 
#define GLAD_UNUSED(x)   (void)(x)
 
#define GLAD_API_CALL   extern
 
#define GLAD_API_PTR
 
#define GLAPI   GLAD_API_CALL
 
#define GLAPIENTRY   GLAD_API_PTR
 
#define GLAD_MAKE_VERSION(major, minor)   (major * 10000 + minor)
 
#define GLAD_VERSION_MAJOR(version)   (version / 10000)
 
#define GLAD_VERSION_MINOR(version)   (version % 10000)
 
#define GLAD_GENERATOR_VERSION   "2.0.7"
 
#define GLX_ACCUM_ALPHA_SIZE   17
 
#define GLX_ACCUM_BLUE_SIZE   16
 
#define GLX_ACCUM_BUFFER_BIT   0x00000080
 
#define GLX_ACCUM_GREEN_SIZE   15
 
#define GLX_ACCUM_RED_SIZE   14
 
#define GLX_ALPHA_SIZE   11
 
#define GLX_AUX_BUFFERS   7
 
#define GLX_AUX_BUFFERS_BIT   0x00000010
 
#define GLX_BACK_LEFT_BUFFER_BIT   0x00000004
 
#define GLX_BACK_RIGHT_BUFFER_BIT   0x00000008
 
#define GLX_BAD_ATTRIBUTE   2
 
#define GLX_BAD_CONTEXT   5
 
#define GLX_BAD_ENUM   7
 
#define GLX_BAD_SCREEN   1
 
#define GLX_BAD_VALUE   6
 
#define GLX_BAD_VISUAL   4
 
#define GLX_BLUE_SIZE   10
 
#define GLX_BUFFER_SIZE   2
 
#define GLX_BufferSwapComplete   1
 
#define GLX_COLOR_INDEX_BIT   0x00000002
 
#define GLX_COLOR_INDEX_TYPE   0x8015
 
#define GLX_CONFIG_CAVEAT   0x20
 
#define GLX_DAMAGED   0x8020
 
#define GLX_DEPTH_BUFFER_BIT   0x00000020
 
#define GLX_DEPTH_SIZE   12
 
#define GLX_DIRECT_COLOR   0x8003
 
#define GLX_DONT_CARE   0xFFFFFFFF
 
#define GLX_DOUBLEBUFFER   5
 
#define GLX_DRAWABLE_TYPE   0x8010
 
#define GLX_EVENT_MASK   0x801F
 
#define GLX_EXTENSIONS   0x3
 
#define GLX_EXTENSION_NAME   "GLX"
 
#define GLX_FBCONFIG_ID   0x8013
 
#define GLX_FRONT_LEFT_BUFFER_BIT   0x00000001
 
#define GLX_FRONT_RIGHT_BUFFER_BIT   0x00000002
 
#define GLX_GRAY_SCALE   0x8006
 
#define GLX_GREEN_SIZE   9
 
#define GLX_HEIGHT   0x801E
 
#define GLX_LARGEST_PBUFFER   0x801C
 
#define GLX_LEVEL   3
 
#define GLX_MAX_PBUFFER_HEIGHT   0x8017
 
#define GLX_MAX_PBUFFER_PIXELS   0x8018
 
#define GLX_MAX_PBUFFER_WIDTH   0x8016
 
#define GLX_NONE   0x8000
 
#define GLX_NON_CONFORMANT_CONFIG   0x800D
 
#define GLX_NO_EXTENSION   3
 
#define GLX_PBUFFER   0x8023
 
#define GLX_PBUFFER_BIT   0x00000004
 
#define GLX_PBUFFER_CLOBBER_MASK   0x08000000
 
#define GLX_PBUFFER_HEIGHT   0x8040
 
#define GLX_PBUFFER_WIDTH   0x8041
 
#define GLX_PIXMAP_BIT   0x00000002
 
#define GLX_PRESERVED_CONTENTS   0x801B
 
#define GLX_PSEUDO_COLOR   0x8004
 
#define GLX_PbufferClobber   0
 
#define GLX_RED_SIZE   8
 
#define GLX_RENDERER_ACCELERATED_MESA   0x8186
 
#define GLX_RENDERER_DEVICE_ID_MESA   0x8184
 
#define GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA   0x818B
 
#define GLX_RENDERER_OPENGL_CORE_PROFILE_VERSION_MESA   0x818A
 
#define GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA   0x818D
 
#define GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA   0x818C
 
#define GLX_RENDERER_PREFERRED_PROFILE_MESA   0x8189
 
#define GLX_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_MESA   0x8188
 
#define GLX_RENDERER_VENDOR_ID_MESA   0x8183
 
#define GLX_RENDERER_VERSION_MESA   0x8185
 
#define GLX_RENDERER_VIDEO_MEMORY_MESA   0x8187
 
#define GLX_RENDER_TYPE   0x8011
 
#define GLX_RGBA   4
 
#define GLX_RGBA_BIT   0x00000001
 
#define GLX_RGBA_TYPE   0x8014
 
#define GLX_SAMPLES   100001
 
#define GLX_SAMPLE_BUFFERS   100000
 
#define GLX_SAVED   0x8021
 
#define GLX_SCREEN   0x800C
 
#define GLX_SLOW_CONFIG   0x8001
 
#define GLX_STATIC_COLOR   0x8005
 
#define GLX_STATIC_GRAY   0x8007
 
#define GLX_STENCIL_BUFFER_BIT   0x00000040
 
#define GLX_STENCIL_SIZE   13
 
#define GLX_STEREO   6
 
#define GLX_TRANSPARENT_ALPHA_VALUE   0x28
 
#define GLX_TRANSPARENT_BLUE_VALUE   0x27
 
#define GLX_TRANSPARENT_GREEN_VALUE   0x26
 
#define GLX_TRANSPARENT_INDEX   0x8009
 
#define GLX_TRANSPARENT_INDEX_VALUE   0x24
 
#define GLX_TRANSPARENT_RED_VALUE   0x25
 
#define GLX_TRANSPARENT_RGB   0x8008
 
#define GLX_TRANSPARENT_TYPE   0x23
 
#define GLX_TRUE_COLOR   0x8002
 
#define GLX_USE_GL   1
 
#define GLX_VENDOR   0x1
 
#define GLX_VERSION   0x2
 
#define GLX_VISUAL_ID   0x800B
 
#define GLX_WIDTH   0x801D
 
#define GLX_WINDOW   0x8022
 
#define GLX_WINDOW_BIT   0x00000001
 
#define GLX_X_RENDERABLE   0x8012
 
#define GLX_X_VISUAL_TYPE   0x22
 
#define __GLX_NUMBER_EVENTS   17
 
#define GLEXT_64_TYPES_DEFINED
 
#define GLX_VERSION_1_0   1
 
#define GLX_VERSION_1_1   1
 
#define GLX_VERSION_1_2   1
 
#define GLX_VERSION_1_3   1
 
#define GLX_VERSION_1_4   1
 
#define GLX_MESA_query_renderer   1
 
#define GLX_SGI_swap_control   1
 
#define glXChooseFBConfig   glad_glXChooseFBConfig
 
#define glXChooseVisual   glad_glXChooseVisual
 
#define glXCopyContext   glad_glXCopyContext
 
#define glXCreateContext   glad_glXCreateContext
 
#define glXCreateGLXPixmap   glad_glXCreateGLXPixmap
 
#define glXCreateNewContext   glad_glXCreateNewContext
 
#define glXCreatePbuffer   glad_glXCreatePbuffer
 
#define glXCreatePixmap   glad_glXCreatePixmap
 
#define glXCreateWindow   glad_glXCreateWindow
 
#define glXDestroyContext   glad_glXDestroyContext
 
#define glXDestroyGLXPixmap   glad_glXDestroyGLXPixmap
 
#define glXDestroyPbuffer   glad_glXDestroyPbuffer
 
#define glXDestroyPixmap   glad_glXDestroyPixmap
 
#define glXDestroyWindow   glad_glXDestroyWindow
 
#define glXGetClientString   glad_glXGetClientString
 
#define glXGetConfig   glad_glXGetConfig
 
#define glXGetCurrentContext   glad_glXGetCurrentContext
 
#define glXGetCurrentDisplay   glad_glXGetCurrentDisplay
 
#define glXGetCurrentDrawable   glad_glXGetCurrentDrawable
 
#define glXGetCurrentReadDrawable   glad_glXGetCurrentReadDrawable
 
#define glXGetFBConfigAttrib   glad_glXGetFBConfigAttrib
 
#define glXGetFBConfigs   glad_glXGetFBConfigs
 
#define glXGetProcAddress   glad_glXGetProcAddress
 
#define glXGetSelectedEvent   glad_glXGetSelectedEvent
 
#define glXGetVisualFromFBConfig   glad_glXGetVisualFromFBConfig
 
#define glXIsDirect   glad_glXIsDirect
 
#define glXMakeContextCurrent   glad_glXMakeContextCurrent
 
#define glXMakeCurrent   glad_glXMakeCurrent
 
#define glXQueryContext   glad_glXQueryContext
 
#define glXQueryCurrentRendererIntegerMESA   glad_glXQueryCurrentRendererIntegerMESA
 
#define glXQueryCurrentRendererStringMESA   glad_glXQueryCurrentRendererStringMESA
 
#define glXQueryDrawable   glad_glXQueryDrawable
 
#define glXQueryExtension   glad_glXQueryExtension
 
#define glXQueryExtensionsString   glad_glXQueryExtensionsString
 
#define glXQueryRendererIntegerMESA   glad_glXQueryRendererIntegerMESA
 
#define glXQueryRendererStringMESA   glad_glXQueryRendererStringMESA
 
#define glXQueryServerString   glad_glXQueryServerString
 
#define glXQueryVersion   glad_glXQueryVersion
 
#define glXSelectEvent   glad_glXSelectEvent
 
#define glXSwapBuffers   glad_glXSwapBuffers
 
#define glXSwapIntervalSGI   glad_glXSwapIntervalSGI
 
#define glXUseXFont   glad_glXUseXFont
 
#define glXWaitGL   glad_glXWaitGL
 
#define glXWaitX   glad_glXWaitX
 

Typedefs

typedef void(* GLADapiproc) (void)
 
typedef GLADapiproc(* GLADloadfunc) (const char *name)
 
typedef GLADapiproc(* GLADuserptrloadfunc) (void *userptr, const char *name)
 
typedef void(* GLADprecallback) (const char *name, GLADapiproc apiproc, int len_args,...)
 
typedef void(* GLADpostcallback) (void *ret, const char *name, GLADapiproc apiproc, int len_args,...)
 
typedef XID GLXFBConfigID
 
typedef struct __GLXFBConfigRec * GLXFBConfig
 
typedef XID GLXContextID
 
typedef struct __GLXcontextRec * GLXContext
 
typedef XID GLXPixmap
 
typedef XID GLXDrawable
 
typedef XID GLXWindow
 
typedef XID GLXPbuffer
 
typedef void(GLAD_API_PTR__GLXextFuncPtr) (void)
 
typedef XID GLXVideoCaptureDeviceNV
 
typedef unsigned int GLXVideoDeviceNV
 
typedef XID GLXVideoSourceSGIX
 
typedef XID GLXFBConfigIDSGIX
 
typedef struct __GLXFBConfigRec * GLXFBConfigSGIX
 
typedef XID GLXPbufferSGIX
 
typedef union __GLXEvent GLXEvent
 
typedef GLXFBConfig *(GLAD_API_PTRPFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements)
 
typedef XVisualInfo *(GLAD_API_PTRPFNGLXCHOOSEVISUALPROC) (Display *dpy, int screen, int *attribList)
 
typedef void(GLAD_API_PTRPFNGLXCOPYCONTEXTPROC) (Display *dpy, GLXContext src, GLXContext dst, unsigned long mask)
 
typedef GLXContext(GLAD_API_PTRPFNGLXCREATECONTEXTPROC) (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct)
 
typedef GLXPixmap(GLAD_API_PTRPFNGLXCREATEGLXPIXMAPPROC) (Display *dpy, XVisualInfo *visual, Pixmap pixmap)
 
typedef GLXContext(GLAD_API_PTRPFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct)
 
typedef GLXPbuffer(GLAD_API_PTRPFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list)
 
typedef GLXPixmap(GLAD_API_PTRPFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list)
 
typedef GLXWindow(GLAD_API_PTRPFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list)
 
typedef void(GLAD_API_PTRPFNGLXDESTROYCONTEXTPROC) (Display *dpy, GLXContext ctx)
 
typedef void(GLAD_API_PTRPFNGLXDESTROYGLXPIXMAPPROC) (Display *dpy, GLXPixmap pixmap)
 
typedef void(GLAD_API_PTRPFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf)
 
typedef void(GLAD_API_PTRPFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap)
 
typedef void(GLAD_API_PTRPFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win)
 
typedef const char *(GLAD_API_PTRPFNGLXGETCLIENTSTRINGPROC) (Display *dpy, int name)
 
typedef int(GLAD_API_PTRPFNGLXGETCONFIGPROC) (Display *dpy, XVisualInfo *visual, int attrib, int *value)
 
typedef GLXContext(GLAD_API_PTRPFNGLXGETCURRENTCONTEXTPROC) (void)
 
typedef Display *(GLAD_API_PTRPFNGLXGETCURRENTDISPLAYPROC) (void)
 
typedef GLXDrawable(GLAD_API_PTRPFNGLXGETCURRENTDRAWABLEPROC) (void)
 
typedef GLXDrawable(GLAD_API_PTRPFNGLXGETCURRENTREADDRAWABLEPROC) (void)
 
typedef int(GLAD_API_PTRPFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value)
 
typedef GLXFBConfig *(GLAD_API_PTRPFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements)
 
typedef __GLXextFuncPtr(GLAD_API_PTRPFNGLXGETPROCADDRESSPROC) (const GLubyte *procName)
 
typedef void(GLAD_API_PTRPFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask)
 
typedef XVisualInfo *(GLAD_API_PTRPFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config)
 
typedef Bool(GLAD_API_PTRPFNGLXISDIRECTPROC) (Display *dpy, GLXContext ctx)
 
typedef Bool(GLAD_API_PTRPFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx)
 
typedef Bool(GLAD_API_PTRPFNGLXMAKECURRENTPROC) (Display *dpy, GLXDrawable drawable, GLXContext ctx)
 
typedef int(GLAD_API_PTRPFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value)
 
typedef Bool(GLAD_API_PTRPFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC) (int attribute, unsigned int *value)
 
typedef const char *(GLAD_API_PTRPFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC) (int attribute)
 
typedef void(GLAD_API_PTRPFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value)
 
typedef Bool(GLAD_API_PTRPFNGLXQUERYEXTENSIONPROC) (Display *dpy, int *errorb, int *event)
 
typedef const char *(GLAD_API_PTRPFNGLXQUERYEXTENSIONSSTRINGPROC) (Display *dpy, int screen)
 
typedef Bool(GLAD_API_PTRPFNGLXQUERYRENDERERINTEGERMESAPROC) (Display *dpy, int screen, int renderer, int attribute, unsigned int *value)
 
typedef const char *(GLAD_API_PTRPFNGLXQUERYRENDERERSTRINGMESAPROC) (Display *dpy, int screen, int renderer, int attribute)
 
typedef const char *(GLAD_API_PTRPFNGLXQUERYSERVERSTRINGPROC) (Display *dpy, int screen, int name)
 
typedef Bool(GLAD_API_PTRPFNGLXQUERYVERSIONPROC) (Display *dpy, int *maj, int *min)
 
typedef void(GLAD_API_PTRPFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask)
 
typedef void(GLAD_API_PTRPFNGLXSWAPBUFFERSPROC) (Display *dpy, GLXDrawable drawable)
 
typedef int(GLAD_API_PTRPFNGLXSWAPINTERVALSGIPROC) (int interval)
 
typedef void(GLAD_API_PTRPFNGLXUSEXFONTPROC) (Font font, int first, int count, int list)
 
typedef void(GLAD_API_PTRPFNGLXWAITGLPROC) (void)
 
typedef void(GLAD_API_PTRPFNGLXWAITXPROC) (void)
 

Functions

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

Variables

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

Macro Definition Documentation

◆ __GLX_NUMBER_EVENTS

#define __GLX_NUMBER_EVENTS   17

◆ GLAD_API_CALL

#define GLAD_API_CALL   extern

◆ GLAD_API_PTR

#define GLAD_API_PTR

◆ GLAD_GENERATOR_VERSION

#define GLAD_GENERATOR_VERSION   "2.0.7"

◆ GLAD_GLX

#define GLAD_GLX

◆ GLAD_GNUC_EXTENSION

#define GLAD_GNUC_EXTENSION

◆ GLAD_MAKE_VERSION

#define GLAD_MAKE_VERSION (   major,
  minor 
)    (major * 10000 + minor)

◆ GLAD_PLATFORM_APPLE

#define GLAD_PLATFORM_APPLE   0

◆ GLAD_PLATFORM_EMSCRIPTEN

#define GLAD_PLATFORM_EMSCRIPTEN   0

◆ GLAD_PLATFORM_H_

#define GLAD_PLATFORM_H_

◆ GLAD_PLATFORM_UWP

#define GLAD_PLATFORM_UWP   0

◆ GLAD_PLATFORM_WIN32

#define GLAD_PLATFORM_WIN32   0

◆ GLAD_UNUSED

#define GLAD_UNUSED (   x)    (void)(x)

◆ GLAD_VERSION_MAJOR

#define GLAD_VERSION_MAJOR (   version)    (version / 10000)

◆ GLAD_VERSION_MINOR

#define GLAD_VERSION_MINOR (   version)    (version % 10000)

◆ GLAPI

#define GLAPI   GLAD_API_CALL

◆ GLAPIENTRY

#define GLAPIENTRY   GLAD_API_PTR

◆ GLEXT_64_TYPES_DEFINED

#define GLEXT_64_TYPES_DEFINED

◆ GLX_ACCUM_ALPHA_SIZE

#define GLX_ACCUM_ALPHA_SIZE   17

◆ GLX_ACCUM_BLUE_SIZE

#define GLX_ACCUM_BLUE_SIZE   16

◆ GLX_ACCUM_BUFFER_BIT

#define GLX_ACCUM_BUFFER_BIT   0x00000080

◆ GLX_ACCUM_GREEN_SIZE

#define GLX_ACCUM_GREEN_SIZE   15

◆ GLX_ACCUM_RED_SIZE

#define GLX_ACCUM_RED_SIZE   14

◆ GLX_ALPHA_SIZE

#define GLX_ALPHA_SIZE   11

◆ GLX_AUX_BUFFERS

#define GLX_AUX_BUFFERS   7

◆ GLX_AUX_BUFFERS_BIT

#define GLX_AUX_BUFFERS_BIT   0x00000010

◆ GLX_BACK_LEFT_BUFFER_BIT

#define GLX_BACK_LEFT_BUFFER_BIT   0x00000004

◆ GLX_BACK_RIGHT_BUFFER_BIT

#define GLX_BACK_RIGHT_BUFFER_BIT   0x00000008

◆ GLX_BAD_ATTRIBUTE

#define GLX_BAD_ATTRIBUTE   2

◆ GLX_BAD_CONTEXT

#define GLX_BAD_CONTEXT   5

◆ GLX_BAD_ENUM

#define GLX_BAD_ENUM   7

◆ GLX_BAD_SCREEN

#define GLX_BAD_SCREEN   1

◆ GLX_BAD_VALUE

#define GLX_BAD_VALUE   6

◆ GLX_BAD_VISUAL

#define GLX_BAD_VISUAL   4

◆ GLX_BLUE_SIZE

#define GLX_BLUE_SIZE   10

◆ GLX_BUFFER_SIZE

#define GLX_BUFFER_SIZE   2

◆ GLX_BufferSwapComplete

#define GLX_BufferSwapComplete   1

◆ GLX_COLOR_INDEX_BIT

#define GLX_COLOR_INDEX_BIT   0x00000002

◆ GLX_COLOR_INDEX_TYPE

#define GLX_COLOR_INDEX_TYPE   0x8015

◆ GLX_CONFIG_CAVEAT

#define GLX_CONFIG_CAVEAT   0x20

◆ GLX_DAMAGED

#define GLX_DAMAGED   0x8020

◆ GLX_DEPTH_BUFFER_BIT

#define GLX_DEPTH_BUFFER_BIT   0x00000020

◆ GLX_DEPTH_SIZE

#define GLX_DEPTH_SIZE   12

◆ GLX_DIRECT_COLOR

#define GLX_DIRECT_COLOR   0x8003

◆ GLX_DONT_CARE

#define GLX_DONT_CARE   0xFFFFFFFF

◆ GLX_DOUBLEBUFFER

#define GLX_DOUBLEBUFFER   5

◆ GLX_DRAWABLE_TYPE

#define GLX_DRAWABLE_TYPE   0x8010

◆ GLX_EVENT_MASK

#define GLX_EVENT_MASK   0x801F

◆ GLX_EXTENSION_NAME

#define GLX_EXTENSION_NAME   "GLX"

◆ GLX_EXTENSIONS

#define GLX_EXTENSIONS   0x3

◆ GLX_FBCONFIG_ID

#define GLX_FBCONFIG_ID   0x8013

◆ GLX_FRONT_LEFT_BUFFER_BIT

#define GLX_FRONT_LEFT_BUFFER_BIT   0x00000001

◆ GLX_FRONT_RIGHT_BUFFER_BIT

#define GLX_FRONT_RIGHT_BUFFER_BIT   0x00000002

◆ GLX_GRAY_SCALE

#define GLX_GRAY_SCALE   0x8006

◆ GLX_GREEN_SIZE

#define GLX_GREEN_SIZE   9

◆ GLX_H

#define GLX_H   1

Loader generated by glad 2.0.7 on Sat Sep 7 20:28:17 2024.

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

Generator: C/C++ Specification: glx Extensions: 2

APIs:

  • glx=1.4

Options:

  • ALIAS = False
  • DEBUG = False
  • HEADER_ONLY = False
  • LOADER = False
  • MX = False
  • ON_DEMAND = False

Commandline: –api='glx=1.4' –extensions='GLX_MESA_query_renderer,GLX_SGI_swap_control' c

Online: http://glad.sh/#api=glx%3D1.4&extensions=GLX_MESA_query_renderer%2CGLX_SGI_swap_control&generator=c&options=

◆ GLX_HEIGHT

#define GLX_HEIGHT   0x801E

◆ GLX_LARGEST_PBUFFER

#define GLX_LARGEST_PBUFFER   0x801C

◆ GLX_LEVEL

#define GLX_LEVEL   3

◆ GLX_MAX_PBUFFER_HEIGHT

#define GLX_MAX_PBUFFER_HEIGHT   0x8017

◆ GLX_MAX_PBUFFER_PIXELS

#define GLX_MAX_PBUFFER_PIXELS   0x8018

◆ GLX_MAX_PBUFFER_WIDTH

#define GLX_MAX_PBUFFER_WIDTH   0x8016

◆ GLX_MESA_query_renderer

#define GLX_MESA_query_renderer   1

◆ GLX_NO_EXTENSION

#define GLX_NO_EXTENSION   3

◆ GLX_NON_CONFORMANT_CONFIG

#define GLX_NON_CONFORMANT_CONFIG   0x800D

◆ GLX_NONE

#define GLX_NONE   0x8000

◆ GLX_PBUFFER

#define GLX_PBUFFER   0x8023

◆ GLX_PBUFFER_BIT

#define GLX_PBUFFER_BIT   0x00000004

◆ GLX_PBUFFER_CLOBBER_MASK

#define GLX_PBUFFER_CLOBBER_MASK   0x08000000

◆ GLX_PBUFFER_HEIGHT

#define GLX_PBUFFER_HEIGHT   0x8040

◆ GLX_PBUFFER_WIDTH

#define GLX_PBUFFER_WIDTH   0x8041

◆ GLX_PbufferClobber

#define GLX_PbufferClobber   0

◆ GLX_PIXMAP_BIT

#define GLX_PIXMAP_BIT   0x00000002

◆ GLX_PRESERVED_CONTENTS

#define GLX_PRESERVED_CONTENTS   0x801B

◆ GLX_PSEUDO_COLOR

#define GLX_PSEUDO_COLOR   0x8004

◆ GLX_RED_SIZE

#define GLX_RED_SIZE   8

◆ GLX_RENDER_TYPE

#define GLX_RENDER_TYPE   0x8011

◆ GLX_RENDERER_ACCELERATED_MESA

#define GLX_RENDERER_ACCELERATED_MESA   0x8186

◆ GLX_RENDERER_DEVICE_ID_MESA

#define GLX_RENDERER_DEVICE_ID_MESA   0x8184

◆ GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA

#define GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA   0x818B

◆ GLX_RENDERER_OPENGL_CORE_PROFILE_VERSION_MESA

#define GLX_RENDERER_OPENGL_CORE_PROFILE_VERSION_MESA   0x818A

◆ GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA

#define GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA   0x818D

◆ GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA

#define GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA   0x818C

◆ GLX_RENDERER_PREFERRED_PROFILE_MESA

#define GLX_RENDERER_PREFERRED_PROFILE_MESA   0x8189

◆ GLX_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_MESA

#define GLX_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_MESA   0x8188

◆ GLX_RENDERER_VENDOR_ID_MESA

#define GLX_RENDERER_VENDOR_ID_MESA   0x8183

◆ GLX_RENDERER_VERSION_MESA

#define GLX_RENDERER_VERSION_MESA   0x8185

◆ GLX_RENDERER_VIDEO_MEMORY_MESA

#define GLX_RENDERER_VIDEO_MEMORY_MESA   0x8187

◆ GLX_RGBA

#define GLX_RGBA   4

◆ GLX_RGBA_BIT

#define GLX_RGBA_BIT   0x00000001

◆ GLX_RGBA_TYPE

#define GLX_RGBA_TYPE   0x8014

◆ GLX_SAMPLE_BUFFERS

#define GLX_SAMPLE_BUFFERS   100000

◆ GLX_SAMPLES

#define GLX_SAMPLES   100001

◆ GLX_SAVED

#define GLX_SAVED   0x8021

◆ GLX_SCREEN

#define GLX_SCREEN   0x800C

◆ GLX_SGI_swap_control

#define GLX_SGI_swap_control   1

◆ GLX_SLOW_CONFIG

#define GLX_SLOW_CONFIG   0x8001

◆ GLX_STATIC_COLOR

#define GLX_STATIC_COLOR   0x8005

◆ GLX_STATIC_GRAY

#define GLX_STATIC_GRAY   0x8007

◆ GLX_STENCIL_BUFFER_BIT

#define GLX_STENCIL_BUFFER_BIT   0x00000040

◆ GLX_STENCIL_SIZE

#define GLX_STENCIL_SIZE   13

◆ GLX_STEREO

#define GLX_STEREO   6

◆ GLX_TRANSPARENT_ALPHA_VALUE

#define GLX_TRANSPARENT_ALPHA_VALUE   0x28

◆ GLX_TRANSPARENT_BLUE_VALUE

#define GLX_TRANSPARENT_BLUE_VALUE   0x27

◆ GLX_TRANSPARENT_GREEN_VALUE

#define GLX_TRANSPARENT_GREEN_VALUE   0x26

◆ GLX_TRANSPARENT_INDEX

#define GLX_TRANSPARENT_INDEX   0x8009

◆ GLX_TRANSPARENT_INDEX_VALUE

#define GLX_TRANSPARENT_INDEX_VALUE   0x24

◆ GLX_TRANSPARENT_RED_VALUE

#define GLX_TRANSPARENT_RED_VALUE   0x25

◆ GLX_TRANSPARENT_RGB

#define GLX_TRANSPARENT_RGB   0x8008

◆ GLX_TRANSPARENT_TYPE

#define GLX_TRANSPARENT_TYPE   0x23

◆ GLX_TRUE_COLOR

#define GLX_TRUE_COLOR   0x8002

◆ GLX_USE_GL

#define GLX_USE_GL   1

◆ GLX_VENDOR

#define GLX_VENDOR   0x1

◆ GLX_VERSION

#define GLX_VERSION   0x2

◆ GLX_VERSION_1_0

#define GLX_VERSION_1_0   1

◆ GLX_VERSION_1_1

#define GLX_VERSION_1_1   1

◆ GLX_VERSION_1_2

#define GLX_VERSION_1_2   1

◆ GLX_VERSION_1_3

#define GLX_VERSION_1_3   1

◆ GLX_VERSION_1_4

#define GLX_VERSION_1_4   1

◆ GLX_VISUAL_ID

#define GLX_VISUAL_ID   0x800B

◆ GLX_WIDTH

#define GLX_WIDTH   0x801D

◆ GLX_WINDOW

#define GLX_WINDOW   0x8022

◆ GLX_WINDOW_BIT

#define GLX_WINDOW_BIT   0x00000001

◆ GLX_X_RENDERABLE

#define GLX_X_RENDERABLE   0x8012

◆ GLX_X_VISUAL_TYPE

#define GLX_X_VISUAL_TYPE   0x22

◆ glXChooseFBConfig

#define glXChooseFBConfig   glad_glXChooseFBConfig

◆ glXChooseVisual

#define glXChooseVisual   glad_glXChooseVisual

◆ glXCopyContext

#define glXCopyContext   glad_glXCopyContext

◆ glXCreateContext

#define glXCreateContext   glad_glXCreateContext

◆ glXCreateGLXPixmap

#define glXCreateGLXPixmap   glad_glXCreateGLXPixmap

◆ glXCreateNewContext

#define glXCreateNewContext   glad_glXCreateNewContext

◆ glXCreatePbuffer

#define glXCreatePbuffer   glad_glXCreatePbuffer

◆ glXCreatePixmap

#define glXCreatePixmap   glad_glXCreatePixmap

◆ glXCreateWindow

#define glXCreateWindow   glad_glXCreateWindow

◆ glXDestroyContext

#define glXDestroyContext   glad_glXDestroyContext

◆ glXDestroyGLXPixmap

#define glXDestroyGLXPixmap   glad_glXDestroyGLXPixmap

◆ glXDestroyPbuffer

#define glXDestroyPbuffer   glad_glXDestroyPbuffer

◆ glXDestroyPixmap

#define glXDestroyPixmap   glad_glXDestroyPixmap

◆ glXDestroyWindow

#define glXDestroyWindow   glad_glXDestroyWindow

◆ glXGetClientString

#define glXGetClientString   glad_glXGetClientString

◆ glXGetConfig

#define glXGetConfig   glad_glXGetConfig

◆ glXGetCurrentContext

#define glXGetCurrentContext   glad_glXGetCurrentContext

◆ glXGetCurrentDisplay

#define glXGetCurrentDisplay   glad_glXGetCurrentDisplay

◆ glXGetCurrentDrawable

#define glXGetCurrentDrawable   glad_glXGetCurrentDrawable

◆ glXGetCurrentReadDrawable

#define glXGetCurrentReadDrawable   glad_glXGetCurrentReadDrawable

◆ glXGetFBConfigAttrib

#define glXGetFBConfigAttrib   glad_glXGetFBConfigAttrib

◆ glXGetFBConfigs

#define glXGetFBConfigs   glad_glXGetFBConfigs

◆ glXGetProcAddress

#define glXGetProcAddress   glad_glXGetProcAddress

◆ glXGetSelectedEvent

#define glXGetSelectedEvent   glad_glXGetSelectedEvent

◆ glXGetVisualFromFBConfig

#define glXGetVisualFromFBConfig   glad_glXGetVisualFromFBConfig

◆ glXIsDirect

#define glXIsDirect   glad_glXIsDirect

◆ glXMakeContextCurrent

#define glXMakeContextCurrent   glad_glXMakeContextCurrent

◆ glXMakeCurrent

#define glXMakeCurrent   glad_glXMakeCurrent

◆ glXQueryContext

#define glXQueryContext   glad_glXQueryContext

◆ glXQueryCurrentRendererIntegerMESA

#define glXQueryCurrentRendererIntegerMESA   glad_glXQueryCurrentRendererIntegerMESA

◆ glXQueryCurrentRendererStringMESA

#define glXQueryCurrentRendererStringMESA   glad_glXQueryCurrentRendererStringMESA

◆ glXQueryDrawable

#define glXQueryDrawable   glad_glXQueryDrawable

◆ glXQueryExtension

#define glXQueryExtension   glad_glXQueryExtension

◆ glXQueryExtensionsString

#define glXQueryExtensionsString   glad_glXQueryExtensionsString

◆ glXQueryRendererIntegerMESA

#define glXQueryRendererIntegerMESA   glad_glXQueryRendererIntegerMESA

◆ glXQueryRendererStringMESA

#define glXQueryRendererStringMESA   glad_glXQueryRendererStringMESA

◆ glXQueryServerString

#define glXQueryServerString   glad_glXQueryServerString

◆ glXQueryVersion

#define glXQueryVersion   glad_glXQueryVersion

◆ glXSelectEvent

#define glXSelectEvent   glad_glXSelectEvent

◆ glXSwapBuffers

#define glXSwapBuffers   glad_glXSwapBuffers

◆ glXSwapIntervalSGI

#define glXSwapIntervalSGI   glad_glXSwapIntervalSGI

◆ glXUseXFont

#define glXUseXFont   glad_glXUseXFont

◆ glXWaitGL

#define glXWaitGL   glad_glXWaitGL

◆ glXWaitX

#define glXWaitX   glad_glXWaitX

Typedef Documentation

◆ __GLXextFuncPtr

typedef void(GLAD_API_PTR * __GLXextFuncPtr) (void)

◆ GLADapiproc

typedef void(* GLADapiproc) (void)

◆ GLADloadfunc

typedef GLADapiproc(* GLADloadfunc) (const char *name)

◆ GLADpostcallback

typedef void(* GLADpostcallback) (void *ret, const char *name, GLADapiproc apiproc, int len_args,...)

◆ GLADprecallback

typedef void(* GLADprecallback) (const char *name, GLADapiproc apiproc, int len_args,...)

◆ GLADuserptrloadfunc

typedef GLADapiproc(* GLADuserptrloadfunc) (void *userptr, const char *name)

◆ GLXContext

typedef struct __GLXcontextRec* GLXContext

◆ GLXContextID

typedef XID GLXContextID

◆ GLXDrawable

typedef XID GLXDrawable

◆ GLXEvent

typedef union __GLXEvent GLXEvent

◆ GLXFBConfig

typedef struct __GLXFBConfigRec* GLXFBConfig

◆ GLXFBConfigID

typedef XID GLXFBConfigID

◆ GLXFBConfigIDSGIX

typedef XID GLXFBConfigIDSGIX

◆ GLXFBConfigSGIX

typedef struct __GLXFBConfigRec* GLXFBConfigSGIX

◆ GLXPbuffer

typedef XID GLXPbuffer

◆ GLXPbufferSGIX

typedef XID GLXPbufferSGIX

◆ GLXPixmap

typedef XID GLXPixmap

◆ GLXVideoCaptureDeviceNV

◆ GLXVideoDeviceNV

typedef unsigned int GLXVideoDeviceNV

◆ GLXVideoSourceSGIX

typedef XID GLXVideoSourceSGIX

◆ GLXWindow

typedef XID GLXWindow

◆ PFNGLXCHOOSEFBCONFIGPROC

typedef GLXFBConfig *(GLAD_API_PTR * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements)

◆ PFNGLXCHOOSEVISUALPROC

typedef XVisualInfo *(GLAD_API_PTR * PFNGLXCHOOSEVISUALPROC) (Display *dpy, int screen, int *attribList)

◆ PFNGLXCOPYCONTEXTPROC

typedef void(GLAD_API_PTR * PFNGLXCOPYCONTEXTPROC) (Display *dpy, GLXContext src, GLXContext dst, unsigned long mask)

◆ PFNGLXCREATECONTEXTPROC

typedef GLXContext(GLAD_API_PTR * PFNGLXCREATECONTEXTPROC) (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct)

◆ PFNGLXCREATEGLXPIXMAPPROC

typedef GLXPixmap(GLAD_API_PTR * PFNGLXCREATEGLXPIXMAPPROC) (Display *dpy, XVisualInfo *visual, Pixmap pixmap)

◆ PFNGLXCREATENEWCONTEXTPROC

typedef GLXContext(GLAD_API_PTR * PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct)

◆ PFNGLXCREATEPBUFFERPROC

typedef GLXPbuffer(GLAD_API_PTR * PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list)

◆ PFNGLXCREATEPIXMAPPROC

typedef GLXPixmap(GLAD_API_PTR * PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list)

◆ PFNGLXCREATEWINDOWPROC

typedef GLXWindow(GLAD_API_PTR * PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list)

◆ PFNGLXDESTROYCONTEXTPROC

typedef void(GLAD_API_PTR * PFNGLXDESTROYCONTEXTPROC) (Display *dpy, GLXContext ctx)

◆ PFNGLXDESTROYGLXPIXMAPPROC

typedef void(GLAD_API_PTR * PFNGLXDESTROYGLXPIXMAPPROC) (Display *dpy, GLXPixmap pixmap)

◆ PFNGLXDESTROYPBUFFERPROC

typedef void(GLAD_API_PTR * PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf)

◆ PFNGLXDESTROYPIXMAPPROC

typedef void(GLAD_API_PTR * PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap)

◆ PFNGLXDESTROYWINDOWPROC

typedef void(GLAD_API_PTR * PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win)

◆ PFNGLXGETCLIENTSTRINGPROC

typedef const char *(GLAD_API_PTR * PFNGLXGETCLIENTSTRINGPROC) (Display *dpy, int name)

◆ PFNGLXGETCONFIGPROC

typedef int(GLAD_API_PTR * PFNGLXGETCONFIGPROC) (Display *dpy, XVisualInfo *visual, int attrib, int *value)

◆ PFNGLXGETCURRENTCONTEXTPROC

typedef GLXContext(GLAD_API_PTR * PFNGLXGETCURRENTCONTEXTPROC) (void)

◆ PFNGLXGETCURRENTDISPLAYPROC

typedef Display *(GLAD_API_PTR * PFNGLXGETCURRENTDISPLAYPROC) (void)

◆ PFNGLXGETCURRENTDRAWABLEPROC

typedef GLXDrawable(GLAD_API_PTR * PFNGLXGETCURRENTDRAWABLEPROC) (void)

◆ PFNGLXGETCURRENTREADDRAWABLEPROC

typedef GLXDrawable(GLAD_API_PTR * PFNGLXGETCURRENTREADDRAWABLEPROC) (void)

◆ PFNGLXGETFBCONFIGATTRIBPROC

typedef int(GLAD_API_PTR * PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value)

◆ PFNGLXGETFBCONFIGSPROC

typedef GLXFBConfig *(GLAD_API_PTR * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements)

◆ PFNGLXGETPROCADDRESSPROC

typedef __GLXextFuncPtr(GLAD_API_PTR * PFNGLXGETPROCADDRESSPROC) (const GLubyte *procName)

◆ PFNGLXGETSELECTEDEVENTPROC

typedef void(GLAD_API_PTR * PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask)

◆ PFNGLXGETVISUALFROMFBCONFIGPROC

typedef XVisualInfo *(GLAD_API_PTR * PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config)

◆ PFNGLXISDIRECTPROC

typedef Bool(GLAD_API_PTR * PFNGLXISDIRECTPROC) (Display *dpy, GLXContext ctx)

◆ PFNGLXMAKECONTEXTCURRENTPROC

typedef Bool(GLAD_API_PTR * PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx)

◆ PFNGLXMAKECURRENTPROC

typedef Bool(GLAD_API_PTR * PFNGLXMAKECURRENTPROC) (Display *dpy, GLXDrawable drawable, GLXContext ctx)

◆ PFNGLXQUERYCONTEXTPROC

typedef int(GLAD_API_PTR * PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value)

◆ PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC

typedef Bool(GLAD_API_PTR * PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC) (int attribute, unsigned int *value)

◆ PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC

typedef const char *(GLAD_API_PTR * PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC) (int attribute)

◆ PFNGLXQUERYDRAWABLEPROC

typedef void(GLAD_API_PTR * PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value)

◆ PFNGLXQUERYEXTENSIONPROC

typedef Bool(GLAD_API_PTR * PFNGLXQUERYEXTENSIONPROC) (Display *dpy, int *errorb, int *event)

◆ PFNGLXQUERYEXTENSIONSSTRINGPROC

typedef const char *(GLAD_API_PTR * PFNGLXQUERYEXTENSIONSSTRINGPROC) (Display *dpy, int screen)

◆ PFNGLXQUERYRENDERERINTEGERMESAPROC

typedef Bool(GLAD_API_PTR * PFNGLXQUERYRENDERERINTEGERMESAPROC) (Display *dpy, int screen, int renderer, int attribute, unsigned int *value)

◆ PFNGLXQUERYRENDERERSTRINGMESAPROC

typedef const char *(GLAD_API_PTR * PFNGLXQUERYRENDERERSTRINGMESAPROC) (Display *dpy, int screen, int renderer, int attribute)

◆ PFNGLXQUERYSERVERSTRINGPROC

typedef const char *(GLAD_API_PTR * PFNGLXQUERYSERVERSTRINGPROC) (Display *dpy, int screen, int name)

◆ PFNGLXQUERYVERSIONPROC

typedef Bool(GLAD_API_PTR * PFNGLXQUERYVERSIONPROC) (Display *dpy, int *maj, int *min)

◆ PFNGLXSELECTEVENTPROC

typedef void(GLAD_API_PTR * PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask)

◆ PFNGLXSWAPBUFFERSPROC

typedef void(GLAD_API_PTR * PFNGLXSWAPBUFFERSPROC) (Display *dpy, GLXDrawable drawable)

◆ PFNGLXSWAPINTERVALSGIPROC

typedef int(GLAD_API_PTR * PFNGLXSWAPINTERVALSGIPROC) (int interval)

◆ PFNGLXUSEXFONTPROC

typedef void(GLAD_API_PTR * PFNGLXUSEXFONTPROC) (Font font, int first, int count, int list)

◆ PFNGLXWAITGLPROC

typedef void(GLAD_API_PTR * PFNGLXWAITGLPROC) (void)

◆ PFNGLXWAITXPROC

typedef void(GLAD_API_PTR * PFNGLXWAITXPROC) (void)

Function Documentation

◆ gladLoadGLX()

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

◆ gladLoadGLXUserPtr()

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

Variable Documentation

◆ GLAD_GLX_MESA_query_renderer

GLAD_API_CALL int GLAD_GLX_MESA_query_renderer

◆ GLAD_GLX_SGI_swap_control

GLAD_API_CALL int GLAD_GLX_SGI_swap_control

◆ GLAD_GLX_VERSION_1_0

GLAD_API_CALL int GLAD_GLX_VERSION_1_0

◆ GLAD_GLX_VERSION_1_1

GLAD_API_CALL int GLAD_GLX_VERSION_1_1

◆ GLAD_GLX_VERSION_1_2

GLAD_API_CALL int GLAD_GLX_VERSION_1_2

◆ GLAD_GLX_VERSION_1_3

GLAD_API_CALL int GLAD_GLX_VERSION_1_3

◆ GLAD_GLX_VERSION_1_4

GLAD_API_CALL int GLAD_GLX_VERSION_1_4

◆ glad_glXChooseFBConfig

GLAD_API_CALL PFNGLXCHOOSEFBCONFIGPROC glad_glXChooseFBConfig

◆ glad_glXChooseVisual

GLAD_API_CALL PFNGLXCHOOSEVISUALPROC glad_glXChooseVisual

◆ glad_glXCopyContext

GLAD_API_CALL PFNGLXCOPYCONTEXTPROC glad_glXCopyContext

◆ glad_glXCreateContext

GLAD_API_CALL PFNGLXCREATECONTEXTPROC glad_glXCreateContext

◆ glad_glXCreateGLXPixmap

GLAD_API_CALL PFNGLXCREATEGLXPIXMAPPROC glad_glXCreateGLXPixmap

◆ glad_glXCreateNewContext

GLAD_API_CALL PFNGLXCREATENEWCONTEXTPROC glad_glXCreateNewContext

◆ glad_glXCreatePbuffer

GLAD_API_CALL PFNGLXCREATEPBUFFERPROC glad_glXCreatePbuffer

◆ glad_glXCreatePixmap

GLAD_API_CALL PFNGLXCREATEPIXMAPPROC glad_glXCreatePixmap

◆ glad_glXCreateWindow

GLAD_API_CALL PFNGLXCREATEWINDOWPROC glad_glXCreateWindow

◆ glad_glXDestroyContext

GLAD_API_CALL PFNGLXDESTROYCONTEXTPROC glad_glXDestroyContext

◆ glad_glXDestroyGLXPixmap

GLAD_API_CALL PFNGLXDESTROYGLXPIXMAPPROC glad_glXDestroyGLXPixmap

◆ glad_glXDestroyPbuffer

GLAD_API_CALL PFNGLXDESTROYPBUFFERPROC glad_glXDestroyPbuffer

◆ glad_glXDestroyPixmap

GLAD_API_CALL PFNGLXDESTROYPIXMAPPROC glad_glXDestroyPixmap

◆ glad_glXDestroyWindow

GLAD_API_CALL PFNGLXDESTROYWINDOWPROC glad_glXDestroyWindow

◆ glad_glXGetClientString

GLAD_API_CALL PFNGLXGETCLIENTSTRINGPROC glad_glXGetClientString

◆ glad_glXGetConfig

◆ glad_glXGetCurrentContext

GLAD_API_CALL PFNGLXGETCURRENTCONTEXTPROC glad_glXGetCurrentContext

◆ glad_glXGetCurrentDisplay

GLAD_API_CALL PFNGLXGETCURRENTDISPLAYPROC glad_glXGetCurrentDisplay

◆ glad_glXGetCurrentDrawable

GLAD_API_CALL PFNGLXGETCURRENTDRAWABLEPROC glad_glXGetCurrentDrawable

◆ glad_glXGetCurrentReadDrawable

GLAD_API_CALL PFNGLXGETCURRENTREADDRAWABLEPROC glad_glXGetCurrentReadDrawable

◆ glad_glXGetFBConfigAttrib

GLAD_API_CALL PFNGLXGETFBCONFIGATTRIBPROC glad_glXGetFBConfigAttrib

◆ glad_glXGetFBConfigs

GLAD_API_CALL PFNGLXGETFBCONFIGSPROC glad_glXGetFBConfigs

◆ glad_glXGetProcAddress

GLAD_API_CALL PFNGLXGETPROCADDRESSPROC glad_glXGetProcAddress

◆ glad_glXGetSelectedEvent

GLAD_API_CALL PFNGLXGETSELECTEDEVENTPROC glad_glXGetSelectedEvent

◆ glad_glXGetVisualFromFBConfig

GLAD_API_CALL PFNGLXGETVISUALFROMFBCONFIGPROC glad_glXGetVisualFromFBConfig

◆ glad_glXIsDirect

◆ glad_glXMakeContextCurrent

GLAD_API_CALL PFNGLXMAKECONTEXTCURRENTPROC glad_glXMakeContextCurrent

◆ glad_glXMakeCurrent

GLAD_API_CALL PFNGLXMAKECURRENTPROC glad_glXMakeCurrent

◆ glad_glXQueryContext

GLAD_API_CALL PFNGLXQUERYCONTEXTPROC glad_glXQueryContext

◆ glad_glXQueryCurrentRendererIntegerMESA

GLAD_API_CALL PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC glad_glXQueryCurrentRendererIntegerMESA

◆ glad_glXQueryCurrentRendererStringMESA

GLAD_API_CALL PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC glad_glXQueryCurrentRendererStringMESA

◆ glad_glXQueryDrawable

GLAD_API_CALL PFNGLXQUERYDRAWABLEPROC glad_glXQueryDrawable

◆ glad_glXQueryExtension

GLAD_API_CALL PFNGLXQUERYEXTENSIONPROC glad_glXQueryExtension

◆ glad_glXQueryExtensionsString

GLAD_API_CALL PFNGLXQUERYEXTENSIONSSTRINGPROC glad_glXQueryExtensionsString

◆ glad_glXQueryRendererIntegerMESA

GLAD_API_CALL PFNGLXQUERYRENDERERINTEGERMESAPROC glad_glXQueryRendererIntegerMESA

◆ glad_glXQueryRendererStringMESA

GLAD_API_CALL PFNGLXQUERYRENDERERSTRINGMESAPROC glad_glXQueryRendererStringMESA

◆ glad_glXQueryServerString

GLAD_API_CALL PFNGLXQUERYSERVERSTRINGPROC glad_glXQueryServerString

◆ glad_glXQueryVersion

GLAD_API_CALL PFNGLXQUERYVERSIONPROC glad_glXQueryVersion

◆ glad_glXSelectEvent

GLAD_API_CALL PFNGLXSELECTEVENTPROC glad_glXSelectEvent

◆ glad_glXSwapBuffers

GLAD_API_CALL PFNGLXSWAPBUFFERSPROC glad_glXSwapBuffers

◆ glad_glXSwapIntervalSGI

GLAD_API_CALL PFNGLXSWAPINTERVALSGIPROC glad_glXSwapIntervalSGI

◆ glad_glXUseXFont

◆ glad_glXWaitGL

◆ glad_glXWaitX