diff options
author | Jesse Barnes <[email protected]> | 2009-07-17 03:30:29 -0400 |
---|---|---|
committer | Jesse Barnes <[email protected]> | 2010-01-08 12:29:50 -0500 |
commit | a35f6bb207efe3c959bbd16a37f2049e5aceeea9 (patch) | |
tree | 63229cca1d391ccfc284a3f72852e09240f97c66 /src/mesa/drivers/dri/common/dri_util.h | |
parent | 1baaf111c8c42ed7f7218c46038f32eb51b9c6eb (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/common/dri_util.h')
-rw-r--r-- | src/mesa/drivers/dri/common/dri_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.h b/src/mesa/drivers/dri/common/dri_util.h index c95a5c8299a..c3046d6b186 100644 --- a/src/mesa/drivers/dri/common/dri_util.h +++ b/src/mesa/drivers/dri/common/dri_util.h @@ -380,6 +380,8 @@ struct __DRIdrawableRec { * GLX_MESA_swap_control. */ unsigned int swap_interval; + + GLboolean validBuffers; }; /** |