Added planemask args for color and depthbuffer clears.

main
Keith Whitwell 2000-08-30 22:36:27 +00:00
parent 926349534d
commit 0bdde422b7
1 changed files with 6 additions and 1 deletions

View File

@ -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 {