2 #include "glxextensions.h"
6 ** GLX_SGI_swap_control
9 glXSwapIntervalSGI(int interval
)
17 ** GLX_MESA_swap_control
20 glXSwapIntervalMESA(unsigned int interval
)
23 return GLX_BAD_CONTEXT
;
28 glXGetSwapIntervalMESA(void)
38 glXGetVideoSyncSGI(unsigned int *count
)
41 return GLX_BAD_CONTEXT
;
45 glXWaitVideoSyncSGI(int divisor
, int remainder
, unsigned int *count
)
48 return GLX_BAD_CONTEXT
;
53 ** GLX_OML_sync_control
56 glXGetSyncValuesOML(Display
* dpy
, GLXDrawable drawable
,
57 int64_t * ust
, int64_t * msc
, int64_t * sbc
)
68 glXSwapBuffersMscOML(Display
* dpy
, GLXDrawable drawable
,
69 int64_t target_msc
, int64_t divisor
, int64_t remainder
)
81 glXWaitForMscOML(Display
* dpy
, GLXDrawable drawable
,
82 int64_t target_msc
, int64_t divisor
,
83 int64_t remainder
, int64_t * ust
,
84 int64_t * msc
, int64_t * sbc
)
99 glXWaitForSbcOML(Display
* dpy
, GLXDrawable drawable
,
100 int64_t target_sbc
, int64_t * ust
,
101 int64_t * msc
, int64_t * sbc
)
114 glXReleaseBuffersMESA(Display
* dpy
, GLXDrawable d
)
123 glXCreateGLXPixmapMESA(Display
* dpy
, XVisualInfo
* visual
,
124 Pixmap pixmap
, Colormap cmap
)
135 * GLX_MESA_copy_sub_buffer
138 glXCopySubBufferMESA(Display
* dpy
, GLXDrawable drawable
,
139 int x
, int y
, int width
, int height
)
151 glXQueryGLXPbufferSGIX(Display
* dpy
, GLXDrawable drawable
,
152 int attribute
, unsigned int *value
)
161 _X_EXPORT GLXDrawable
162 glXCreateGLXPbufferSGIX(Display
* dpy
, GLXFBConfig config
,
163 unsigned int width
, unsigned int height
,
175 /* GLX_SGIX_fbconfig */
177 glXGetFBConfigAttribSGIX(Display
* dpy
, void *config
, int a
, int *b
)
187 glXChooseFBConfigSGIX(Display
* dpy
, int a
, int *b
, int *c
)
197 glXCreateGLXPixmapWithConfigSGIX(Display
* dpy
, void *config
, Pixmap p
)
206 glXCreateContextWithConfigSGIX(Display
* dpy
, void *config
, int a
,
207 GLXContext b
, Bool c
)
217 _X_EXPORT XVisualInfo
*
218 glXGetVisualFromFBConfigSGIX(Display
* dpy
, void *config
)
226 glXGetFBConfigFromVisualSGIX(Display
* dpy
, XVisualInfo
* visinfo
)