summaryrefslogtreecommitdiff
path: root/glx/glxserver.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-11-21 22:48:31 -0800
committerKeith Packard <keithp@keithp.com>2013-12-05 09:51:00 -0800
commit3dd5bfe540b295bb37a2c2fd0ba4a31fb217612b (patch)
treef565f2d47ada46906df6d8cc73fac7bfcf9d5ff5 /glx/glxserver.h
parentcde86e68fcb716f34c90f5a16eb868870f5c85e4 (diff)
present: Send GLX_BufferSwapComplete events from present extension
This allows GL to support the GLX_INTEL_swap_event extension. v2: Return GLX_BLIT_COMPLETE_INTEL for unknown swap types Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'glx/glxserver.h')
-rw-r--r--glx/glxserver.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/glx/glxserver.h b/glx/glxserver.h
index 5e29abb28..f862b6360 100644
--- a/glx/glxserver.h
+++ b/glx/glxserver.h
@@ -120,6 +120,15 @@ void glxResumeClients(void);
void __glXsetGetProcAddress(void (*(*get_proc_address) (const char *)) (void));
void *__glGetProcAddress(const char *);
+void
+__glXsendSwapEvent(__GLXdrawable *drawable, int type, CARD64 ust,
+ CARD64 msc, CARD32 sbc);
+
+#if PRESENT
+void
+__glXregisterPresentCompleteNotify(void);
+#endif
+
/*
** State kept per client.
*/