diff options
author | David Dawes <dawes@xfree86.org> | 2002-02-14 02:00:26 +0000 |
---|---|---|
committer | David Dawes <dawes@xfree86.org> | 2002-02-14 02:00:26 +0000 |
commit | ab87c5d0d1b5c35006ce8b99a9260e3116c732dc (patch) | |
tree | 24d25b8fa4987897180d249b671ac2ab9e8edab1 /linux/i810_drm.h | |
parent | 65d25572deec33b7da13c211bf0aa78c361f535a (diff) |
First pass of mesa-4-0 branch merge into trunk.
Diffstat (limited to 'linux/i810_drm.h')
-rw-r--r-- | linux/i810_drm.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/linux/i810_drm.h b/linux/i810_drm.h index 8413293b..bff61637 100644 --- a/linux/i810_drm.h +++ b/linux/i810_drm.h @@ -88,6 +88,8 @@ #define I810_TEXREG_MCS 7 /* GFX_OP_MAP_COORD_SETS ??? */ #define I810_TEX_SETUP_SIZE 8 +/* Flags for clear ioctl + */ #define I810_FRONT 0x1 #define I810_BACK 0x2 #define I810_DEPTH 0x4 @@ -191,6 +193,17 @@ typedef struct _drm_i810_copy_t { void *address; /* Address to copy from */ } drm_i810_copy_t; +#define PR_TRIANGLES (0x0<<18) +#define PR_TRISTRIP_0 (0x1<<18) +#define PR_TRISTRIP_1 (0x2<<18) +#define PR_TRIFAN (0x3<<18) +#define PR_POLYGON (0x4<<18) +#define PR_LINES (0x5<<18) +#define PR_LINESTRIP (0x6<<18) +#define PR_RECTS (0x7<<18) +#define PR_MASK (0x7<<18) + + typedef struct drm_i810_dma { void *virtual; int request_idx; |