DRI2: add SwapBuffers support
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 17 Jul 2009 07:30:29 +0000 (03:30 -0400)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 8 Jan 2010 17:29:50 +0000 (12:29 -0500)
commita35f6bb207efe3c959bbd16a37f2049e5aceeea9
tree63229cca1d391ccfc284a3f72852e09240f97c66
parent1baaf111c8c42ed7f7218c46038f32eb51b9c6eb
DRI2: add SwapBuffers support

Support the new DRI2 protocol request, DRI2SwapBuffers, in both direct
and indirect rendering context.  This request allows the display server
to optimize back->front swaps (e.g. through page flipping) and allows us
to more easily support other GLX features like swap interval and the OML
sync extension in DRI2.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
configure.ac
include/GL/internal/dri_interface.h
src/glx/x11/dri2.c
src/glx/x11/dri2.h
src/glx/x11/dri2_glx.c
src/mesa/drivers/dri/common/dri_util.c
src/mesa/drivers/dri/common/dri_util.h