diff options
author | Jesse Barnes <jbarnes@jbarnes-desktop.localdomain> | 2009-11-12 16:48:07 +0000 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-01-08 12:37:43 -0500 |
commit | 7f170573ea486f2f2dd474c2590346f1a0110773 (patch) | |
tree | 7fdda10cc6a9aef6bfa2d8d9e7ea5597d357e454 /include/GL/glxext.h | |
parent | efc82e7c703f9160cfdbe6d97e166ca6f5e75d86 (diff) | |
download | external_mesa3d-7f170573ea486f2f2dd474c2590346f1a0110773.zip external_mesa3d-7f170573ea486f2f2dd474c2590346f1a0110773.tar.gz external_mesa3d-7f170573ea486f2f2dd474c2590346f1a0110773.tar.bz2 |
DRI2/GLX: add INTEL_swap_event support
Add event support for the GLX swap buffers event, along with DRI2 protocol
support for generating GLX swap buffers events in the direct rendered case.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/GL/glxext.h')
-rw-r--r-- | include/GL/glxext.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/GL/glxext.h b/include/GL/glxext.h index 9ac0592..36ee366 100644 --- a/include/GL/glxext.h +++ b/include/GL/glxext.h @@ -696,6 +696,14 @@ extern void glXJoinSwapGroupSGIX (Display *, GLXDrawable, GLXDrawable); typedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawable, GLXDrawable member); #endif +#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 +#endif + #ifndef GLX_SGIX_swap_barrier #define GLX_SGIX_swap_barrier 1 #ifdef GLX_GLXEXT_PROTOTYPES |