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_SGIX_swap_group
56 glXJoinSwapGroupSGIX(Display
* dpy
, GLXDrawable drawable
, GLXDrawable member
)
65 ** GLX_SGIX_swap_barrier
68 glXBindSwapBarrierSGIX(Display
* dpy
, GLXDrawable drawable
, int barrier
)
76 glXQueryMaxSwapBarriersSGIX(Display
* dpy
, int screen
, int *max
)
86 ** GLX_OML_sync_control
89 glXGetSyncValuesOML(Display
* dpy
, GLXDrawable drawable
,
90 int64_t * ust
, int64_t * msc
, int64_t * sbc
)
101 glXSwapBuffersMscOML(Display
* dpy
, GLXDrawable drawable
,
102 int64_t target_msc
, int64_t divisor
, int64_t remainder
)
114 glXWaitForMscOML(Display
* dpy
, GLXDrawable drawable
,
115 int64_t target_msc
, int64_t divisor
,
116 int64_t remainder
, int64_t * ust
,
117 int64_t * msc
, int64_t * sbc
)
132 glXWaitForSbcOML(Display
* dpy
, GLXDrawable drawable
,
133 int64_t target_sbc
, int64_t * ust
,
134 int64_t * msc
, int64_t * sbc
)
147 glXReleaseBuffersMESA(Display
* dpy
, GLXDrawable d
)
156 glXCreateGLXPixmapMESA(Display
* dpy
, XVisualInfo
* visual
,
157 Pixmap pixmap
, Colormap cmap
)
168 * GLX_MESA_copy_sub_buffer
171 glXCopySubBufferMESA(Display
* dpy
, GLXDrawable drawable
,
172 int x
, int y
, int width
, int height
)
184 glXQueryGLXPbufferSGIX(Display
* dpy
, GLXDrawable drawable
,
185 int attribute
, unsigned int *value
)
194 _X_EXPORT GLXDrawable
195 glXCreateGLXPbufferSGIX(Display
* dpy
, GLXFBConfig config
,
196 unsigned int width
, unsigned int height
,
208 /* GLX_SGIX_fbconfig */
210 glXGetFBConfigAttribSGIX(Display
* dpy
, void *config
, int a
, int *b
)
220 glXChooseFBConfigSGIX(Display
* dpy
, int a
, int *b
, int *c
)
230 glXCreateGLXPixmapWithConfigSGIX(Display
* dpy
, void *config
, Pixmap p
)
239 glXCreateContextWithConfigSGIX(Display
* dpy
, void *config
, int a
,
240 GLXContext b
, Bool c
)
250 _X_EXPORT XVisualInfo
*
251 glXGetVisualFromFBConfigSGIX(Display
* dpy
, void *config
)
259 glXGetFBConfigFromVisualSGIX(Display
* dpy
, XVisualInfo
* visinfo
)
269 GLX_ALIAS_VOID(glXDestroyGLXPbufferSGIX
,
270 (Display
* dpy
, GLXDrawable pbuf
),
271 (dpy
, pbuf
), glXDestroyPbuffer
)
273 _X_EXPORT
GLX_ALIAS_VOID(glXSelectEventSGIX
,
274 (Display
* dpy
, GLXDrawable drawable
,
275 unsigned long mask
), (dpy
, drawable
, mask
),
278 _X_EXPORT
GLX_ALIAS_VOID(glXGetSelectedEventSGIX
,
279 (Display
* dpy
, GLXDrawable drawable
,
280 unsigned long *mask
), (dpy
, drawable
, mask
),