diff options
Diffstat (limited to 'bsd/mga_drm.h')
-rw-r--r-- | bsd/mga_drm.h | 7 |
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 { |