summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorJesse Barnes <[email protected]>2009-11-12 16:48:07 +0000
committerJesse Barnes <[email protected]>2010-01-08 12:37:43 -0500
commit7f170573ea486f2f2dd474c2590346f1a0110773 (patch)
tree7fdda10cc6a9aef6bfa2d8d9e7ea5597d357e454 /src/mesa/drivers
parentefc82e7c703f9160cfdbe6d97e166ca6f5e75d86 (diff)
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 <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/x11/glxapi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/x11/glxapi.c b/src/mesa/drivers/x11/glxapi.c
index 02eea25a712..a17c2c3ffc6 100644
--- a/src/mesa/drivers/x11/glxapi.c
+++ b/src/mesa/drivers/x11/glxapi.c
@@ -1173,6 +1173,9 @@ _glxapi_get_extensions(void)
#ifdef GLX_EXT_texture_from_pixmap
"GLX_EXT_texture_from_pixmap",
#endif
+#ifdef GLX_INTEL_swap_event
+ "GLX_INTEL_swap_event",
+#endif
NULL
};
return extensions;