summaryrefslogtreecommitdiff
path: root/src/i810.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2004-06-16 09:26:18 +0000
committerEric Anholt <anholt@freebsd.org>2004-06-16 09:26:18 +0000
commitbec47f9369b6f02ce4537ab1ac547ba933609edc (patch)
tree4fc679522a0ba2737836772b91bc77aeca933bdf /src/i810.h
parentc5b1972b50a6dbe57c67d3cc88ae010386b908a6 (diff)
DRI trunk-20040613 importDRI-trunk-20040721DRI-trunk-20040613
Diffstat (limited to 'src/i810.h')
-rw-r--r--src/i810.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/i810.h b/src/i810.h
index 0dd046c9..332cd81a 100644
--- a/src/i810.h
+++ b/src/i810.h
@@ -238,11 +238,11 @@ typedef struct _I810Rec {
unsigned long xvmcHandle;
unsigned long sysmemHandle;
Bool agpAcquired;
- drmHandle buffer_map;
- drmHandle ring_map;
- drmHandle overlay_map;
- drmHandle mc_map;
- drmHandle xvmcContext;
+ drm_handle_t buffer_map;
+ drm_handle_t ring_map;
+ drm_handle_t overlay_map;
+ drm_handle_t mc_map;
+ drm_handle_t xvmcContext;
#endif
Bool agpAcquired2d;
@@ -264,9 +264,13 @@ typedef struct _I810Rec {
#define I810_SELECT_BACK 1
#define I810_SELECT_DEPTH 2
+#ifdef XF86DRI
extern Bool I810DRIScreenInit(ScreenPtr pScreen);
extern void I810DRICloseScreen(ScreenPtr pScreen);
extern Bool I810DRIFinishScreenInit(ScreenPtr pScreen);
+extern Bool I810DRILeave(ScrnInfoPtr pScrn);
+extern Bool I810DRIEnter(ScrnInfoPtr pScrn);
+#endif
extern Bool I810InitDma(ScrnInfoPtr pScrn);
extern Bool I810CleanupDma(ScrnInfoPtr pScrn);