diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-01-08 11:43:07 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-01-08 11:43:07 -0500 |
commit | 6a9361aaec49495d566db1267a21a0f4ed1b9480 (patch) | |
tree | 0adbb4aa197e0d68d5b8301d8b1c49ec117f97e1 | |
parent | c35f05decd7c1c5e4d4c1cc955c6ba9ba370b788 (diff) | |
parent | f2b9a6a29edf930f30eade7a0abe40a6d3c4962b (diff) |
Merge branch 'master' of git://people.freedesktop.org/~jbarnes/glproto
-rw-r--r-- | glxproto.h | 15 | ||||
-rw-r--r-- | glxtokens.h | 4 |
2 files changed, 19 insertions, 0 deletions
@@ -61,6 +61,7 @@ ** extension and the client doesn't. */ #define GLX_PbufferClobber 0 +#define GLX_BufferSwapComplete 1 #define __GLX_NUMBER_EVENTS 17 @@ -1309,6 +1310,20 @@ typedef struct { CARD32 unused2 B32; } xGLXPbufferClobberEvent; +typedef struct { + BYTE type; + BYTE pad; + CARD16 sequenceNumber B16; + CARD16 event_type B16; + CARD32 drawable; + CARD32 ust_hi B32; + CARD32 ust_lo B32; + CARD32 msc_hi B32; + CARD32 msc_lo B32; + CARD32 sbc_hi B32; + CARD32 sbc_lo B32; +} xGLXBufferSwapComplete; + /************************************************************************/ /* diff --git a/glxtokens.h b/glxtokens.h index b22aec3..e7770ab 100644 --- a/glxtokens.h +++ b/glxtokens.h @@ -153,10 +153,14 @@ extern "C" { /* glXSelectEvent event mask bits */ #define GLX_PBUFFER_CLOBBER_MASK 0x08000000 +#define GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK 0x10000000 /* GLXPbufferClobberEvent event_type values */ #define GLX_DAMAGED 0x8020 #define GLX_SAVED 0x8021 +#define GLX_EXCHANGE_COMPLETE_INTEL 0x8024 +#define GLX_BLIT_COMPLETE_INTEL 0x8025 +#define GLX_FLIP_COMPLETE_INTEL 0x8026 /* GLXPbufferClobberEvent draw_type values */ #define GLX_WINDOW 0x8022 |