summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/GL/glx.h6
-rw-r--r--include/GL/glxext.h8
2 files changed, 9 insertions, 5 deletions
diff --git a/include/GL/glx.h b/include/GL/glx.h
index 82b0f221146..fd53964ea06 100644
--- a/include/GL/glx.h
+++ b/include/GL/glx.h
@@ -518,8 +518,12 @@ typedef struct {
} GLXPbufferClobberEvent;
typedef struct {
+ int type;
+ unsigned long serial; /* # of last request processed by server */
+ Bool send_event; /* true if this came from a SendEvent request */
+ Display *display; /* Display the event was read from */
+ GLXDrawable drawable; /* drawable on which event was requested in event mask */
int event_type;
- GLXDrawable drawable;
int64_t ust;
int64_t msc;
int64_t sbc;
diff --git a/include/GL/glxext.h b/include/GL/glxext.h
index 36ee3665dfd..50740dd29db 100644
--- a/include/GL/glxext.h
+++ b/include/GL/glxext.h
@@ -698,10 +698,10 @@ typedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawabl
#ifndef GLX_INTEL_swap_event
#define GLX_INTEL_swap_event
-#define GLX_BUFFER_SWAP_COMPLETE_MASK 0x10000000
-#define GLX_EXCHANGE_COMPLETE 0x8024
-#define GLX_BLIT_COMPLETE 0x8025
-#define GLX_FLIP_COMPLETE 0x8026
+#define GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK 0x10000000
+#define GLX_EXCHANGE_COMPLETE_INTEL 0x8024
+#define GLX_BLIT_COMPLETE_INTEL 0x8025
+#define GLX_FLIP_COMPLETE_INTEL 0x8026
#endif
#ifndef GLX_SGIX_swap_barrier