diff options
author | Keith Packard <keithp@keithp.com> | 2013-11-21 22:48:31 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-12-05 09:51:00 -0800 |
commit | 3dd5bfe540b295bb37a2c2fd0ba4a31fb217612b (patch) | |
tree | f565f2d47ada46906df6d8cc73fac7bfcf9d5ff5 /glx/glxserver.h | |
parent | cde86e68fcb716f34c90f5a16eb868870f5c85e4 (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.h | 9 |
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. */ |