summaryrefslogtreecommitdiffstats
path: root/include/GL/glxext.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-10-11 09:54:47 -0700
committerEric Anholt <[email protected]>2017-10-12 12:45:07 -0700
commit89e02db81f5bcd0c59cd22cf00b2c613a887de68 (patch)
tree3b9d270f32ebc04d697eb9369d30dfc5edc85a5f /include/GL/glxext.h
parent6de8f1f9709fe9a57fae98d0d5af59620511b48e (diff)
include: Update GL headers from khronos opengl registry.
Taken from their c6a99aff31874697741a08cbc8a3488606ce59c7, keeping the BUILDING_MESA hunk in place. Reviewed-by: Daniel Stone <[email protected]> Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'include/GL/glxext.h')
-rw-r--r--include/GL/glxext.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/GL/glxext.h b/include/GL/glxext.h
index 0f60a380c21..8f6abab2d52 100644
--- a/include/GL/glxext.h
+++ b/include/GL/glxext.h
@@ -34,7 +34,7 @@ extern "C" {
** https://github.com/KhronosGroup/OpenGL-Registry
*/
-#define GLX_GLXEXT_VERSION 20170728
+#define GLX_GLXEXT_VERSION 20170926
/* Generated C header for:
* API: glx
@@ -503,6 +503,16 @@ Bool glXSet3DfxModeMESA (int mode);
#endif
#endif /* GLX_MESA_set_3dfx_mode */
+#ifndef GLX_MESA_swap_control
+#define GLX_MESA_swap_control 1
+typedef int ( *PFNGLXGETSWAPINTERVALMESAPROC) (void);
+typedef void ( *PFNGLXSWAPINTERVALMESAPROC) (unsigned int interval);
+#ifdef GLX_GLXEXT_PROTOTYPES
+int glXGetSwapIntervalMESA (void);
+void glXSwapIntervalMESA (unsigned int interval);
+#endif
+#endif /* GLX_MESA_swap_control */
+
#ifndef GLX_NV_copy_buffer
#define GLX_NV_copy_buffer 1
typedef void ( *PFNGLXCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);