diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-05-01 14:52:26 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-01-13 13:25:45 -0500 |
commit | 51c75906329a4727e37c8d1f64f257ea9602caa2 (patch) | |
tree | b8372acc439d3291acfbaf53af04d0ff6ec24b27 /src/i830_dri.h | |
parent | 4902f546be19e3d5bb47f6c75e2199dc4856c0f4 (diff) |
DRI2: support new DRI2 APIs
The new interfaces allow for improved buffer swap, and support for the
SGI_swap_control, SGI_video_sync and OML_sync_control GLX extensions.
The Intel implementation allows page flipping to occur for swaps that
are full screen and not rotated.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'src/i830_dri.h')
-rw-r--r-- | src/i830_dri.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/i830_dri.h b/src/i830_dri.h index 9802356c..babcac3d 100644 --- a/src/i830_dri.h +++ b/src/i830_dri.h @@ -2,6 +2,7 @@ #ifndef _I830_DRI_H #define _I830_DRI_H +#include "xorg-server.h" #include "xf86drm.h" #include "i830_common.h" @@ -58,4 +59,9 @@ typedef struct { int dummy; } I830DRIContextRec, *I830DRIContextPtr; +typedef struct { + PixmapPtr pixmap; + unsigned int attachment; +} I830DRI2BufferPrivateRec, *I830DRI2BufferPrivatePtr; + #endif |