summaryrefslogtreecommitdiff
path: root/src/i830_dri.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2009-05-01 14:52:26 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-01-13 13:25:45 -0500
commit51c75906329a4727e37c8d1f64f257ea9602caa2 (patch)
treeb8372acc439d3291acfbaf53af04d0ff6ec24b27 /src/i830_dri.h
parent4902f546be19e3d5bb47f6c75e2199dc4856c0f4 (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.h6
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