summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_common_context.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-11-24 10:49:34 +1000
committerDave Airlie <airlied@redhat.com>2009-11-24 11:38:36 +1000
commitbd13e6e5e2403ada2098e3a07c0af4b4ba989ab7 (patch)
treecdb344911cf4e6261f43f68513e5fca50936986d /src/mesa/drivers/dri/radeon/radeon_common_context.h
parent863ad9a68388979e1d305f8689146e18ef4f098c (diff)
downloadexternal_mesa3d-bd13e6e5e2403ada2098e3a07c0af4b4ba989ab7.zip
external_mesa3d-bd13e6e5e2403ada2098e3a07c0af4b4ba989ab7.tar.gz
external_mesa3d-bd13e6e5e2403ada2098e3a07c0af4b4ba989ab7.tar.bz2
radeon/r200/r300/r600: make bo mapping be explicit
This moves the bo mapping outside the DMA layer and makes it explicit, this should in theory make it simpler to split the clean up the dma/cmdbuf linkage that I created before that is broken. Tested on: r600, rv380 (tcl/no-tcl), rv200 (tcl/no-tcl) Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_common_context.h')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_common_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common_context.h b/src/mesa/drivers/dri/radeon/radeon_common_context.h
index ded81ff..ad953dd 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common_context.h
+++ b/src/mesa/drivers/dri/radeon/radeon_common_context.h
@@ -328,6 +328,7 @@ struct radeon_swtcl_info {
GLuint vertex_attr_count;
GLuint emit_prediction;
+ struct radeon_bo *bo;
};
#define RADEON_MAX_AOS_ARRAYS 16