diff options
Diffstat (limited to 'src/mesa/drivers/dri/radeon/common_context.h')
-rw-r--r-- | src/mesa/drivers/dri/radeon/common_context.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/common_context.h b/src/mesa/drivers/dri/radeon/common_context.h index d8539df6df..471763d418 100644 --- a/src/mesa/drivers/dri/radeon/common_context.h +++ b/src/mesa/drivers/dri/radeon/common_context.h @@ -178,6 +178,16 @@ static INLINE GLuint radeonPackColor(GLuint cpp, } } +#define MAX_CMD_BUF_SZ (16*1024) + +struct radeon_store { + GLuint statenr; + GLuint primnr; + char cmd_buf[MAX_CMD_BUF_SZ]; + int cmd_used; + int elts_start; +}; + struct radeon_dri_mirror { __DRIcontextPrivate *context; /* DRI context */ __DRIscreenPrivate *screen; /* DRI screen */ @@ -213,3 +223,4 @@ struct radeon_dri_mirror { #define DEBUG_SYNC 0x1000 #define DEBUG_PIXEL 0x2000 #define DEBUG_MEMORY 0x4000 + |