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/i810_dri.h | |
parent | c5b1972b50a6dbe57c67d3cc88ae010386b908a6 (diff) |
DRI trunk-20040613 importDRI-trunk-20040721DRI-trunk-20040613
Diffstat (limited to 'src/i810_dri.h')
-rw-r--r-- | src/i810_dri.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/i810_dri.h b/src/i810_dri.h index cfca20a9..e62d3b79 100644 --- a/src/i810_dri.h +++ b/src/i810_dri.h @@ -3,26 +3,27 @@ #ifndef _I810_DRI_ #define _I810_DRI_ +#include "xf86dri.h" #include "xf86drm.h" #include "i810_common.h" #define I810_MAX_DRAWABLES 256 typedef struct { - 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; @@ -78,7 +79,7 @@ typedef struct { unsigned int dirty; unsigned int nbox; - XF86DRIClipRectRec boxes[I810_NR_SAREA_CLIPRECTS]; + drm_clip_rect_t boxes[I810_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 |