summaryrefslogtreecommitdiff
path: root/bsd/mga_drm.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2000-08-30 22:36:27 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2000-08-30 22:36:27 +0000
commit0bdde422b7db154935295938a937dab0c3212edf (patch)
tree1c6c1a234081dce68c7769add65ddf0e9fd720a2 /bsd/mga_drm.h
parent926349534d4a20b8dc4f795e41055540ad48d112 (diff)
Added planemask args for color and depthbuffer clears.
Diffstat (limited to 'bsd/mga_drm.h')
-rw-r--r--bsd/mga_drm.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/bsd/mga_drm.h b/bsd/mga_drm.h
index eefa28d3..fe1b9b9c 100644
--- a/bsd/mga_drm.h
+++ b/bsd/mga_drm.h
@@ -83,7 +83,9 @@
#define MGA_CTXREG_TDUAL0 7
#define MGA_CTXREG_TDUAL1 8
#define MGA_CTXREG_FCOL 9
-#define MGA_CTX_SETUP_SIZE 10
+#define MGA_CTXREG_STENCIL 10
+#define MGA_CTXREG_STENCILCTL 11
+#define MGA_CTX_SETUP_SIZE 12
/* 2d state
*/
@@ -233,6 +235,7 @@ typedef struct _drm_mga_sarea {
/* Mechanism to validate card state.
*/
int ctxOwner;
+ int vertexsize;
} drm_mga_sarea_t;
/* Device specific ioctls:
@@ -241,6 +244,8 @@ typedef struct _drm_mga_clear {
unsigned int clear_color;
unsigned int clear_depth;
unsigned int flags;
+ unsigned int clear_depthmask;
+ unsigned int clear_color_mask;
} drm_mga_clear_t;
typedef struct _drm_mga_swap {