diff options
author | Eric Anholt <anholt@freebsd.org> | 2004-06-16 09:26:18 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2004-06-16 09:26:18 +0000 |
commit | bec47f9369b6f02ce4537ab1ac547ba933609edc (patch) | |
tree | 4fc679522a0ba2737836772b91bc77aeca933bdf /src/i830_dri.h | |
parent | c5b1972b50a6dbe57c67d3cc88ae010386b908a6 (diff) |
DRI trunk-20040613 importDRI-trunk-20040721DRI-trunk-20040613
Diffstat (limited to 'src/i830_dri.h')
-rw-r--r-- | src/i830_dri.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/i830_dri.h b/src/i830_dri.h index 69a4f678..b427dc84 100644 --- a/src/i830_dri.h +++ b/src/i830_dri.h @@ -3,6 +3,7 @@ #ifndef _I830_DRI_H #define _I830_DRI_H +#include "xf86dri.h" #include "xf86drm.h" #include "i830_common.h" @@ -15,20 +16,20 @@ #define I830_REG_SIZE 0x80000 typedef struct _I830DRIRec { - drmHandle regs; + drm_handle_t regs; drmSize regsSize; drmAddress regsMap; drmSize backbufferSize; - drmHandle backbuffer; + drm_handle_t backbuffer; drmSize depthbufferSize; - drmHandle depthbuffer; + drm_handle_t depthbuffer; - drmHandle textures; + drm_handle_t textures; int textureSize; - drmHandle agp_buffers; + drm_handle_t agp_buffers; drmSize agp_buf_size; int deviceID; @@ -82,7 +83,7 @@ typedef struct _I830SAREA { unsigned int dirty; unsigned int nbox; - XF86DRIClipRectRec boxes[I830_NR_SAREA_CLIPRECTS]; + drm_clip_rect_t boxes[I830_NR_SAREA_CLIPRECTS]; /* Maintain an LRU of contiguous regions of texture space. If * you think you own a region of texture memory, and it has an |