diff options
author | Dave Airlie <airlied@redhat.com> | 2009-01-23 00:17:38 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-01-23 00:17:38 +1000 |
commit | 7d01cb37d94b8966fa089106b902325dbef33a58 (patch) | |
tree | cbdf7995bbce71a4f0ffa3fef713c5da7969b524 /src/mesa/drivers/dri/r200/r200_context.h | |
parent | eda2284961e46002c7b2bd4e4ae2785d7b0a2191 (diff) |
r200: emit elts into a separate ELT bo
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_context.h')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_context.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_context.h b/src/mesa/drivers/dri/r200/r200_context.h index 2725dc495f..607997fafc 100644 --- a/src/mesa/drivers/dri/r200/r200_context.h +++ b/src/mesa/drivers/dri/r200/r200_context.h @@ -531,7 +531,7 @@ struct r200_state { #define R200_CMD_BUF_SZ (16*1024) - +#define R200_ELT_BUF_SZ (16*1024) /* r200_tcl.c */ struct r200_tcl_info { @@ -544,6 +544,11 @@ struct r200_tcl_info { GLuint *Elts; + struct radeon_bo *elt_dma_bo; + int elt_dma_offset; /** Offset into this buffer object, in bytes */ + int elt_used; + + void (*flush) (r200ContextPtr); struct radeon_dma_region vertex_data[15]; }; |