summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_common_context.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-12-05 19:15:04 +0000
committerDave Airlie <airlied@redhat.com>2011-12-05 19:15:04 +0000
commit7d91ecf7a3a08c01a704f2d427444f7a97991680 (patch)
tree249754b8dff2ba4675199188330497a91f7e43fc /src/mesa/drivers/dri/radeon/radeon_common_context.h
parentc48763643ebd87013a09c5498d9a5d3713dc1014 (diff)
downloadexternal_mesa3d-7d91ecf7a3a08c01a704f2d427444f7a97991680.zip
external_mesa3d-7d91ecf7a3a08c01a704f2d427444f7a97991680.tar.gz
external_mesa3d-7d91ecf7a3a08c01a704f2d427444f7a97991680.tar.bz2
radeon/r200: add draw/stencil buffer detiling
This moves the detiling to the fbo mapping, r200 depth is always tiled, and we can't detile it with the blitter. 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 b8c6bf0..5a32079 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common_context.h
+++ b/src/mesa/drivers/dri/radeon/radeon_common_context.h
@@ -90,6 +90,7 @@ struct radeon_renderbuffer
GLbitfield map_mode;
int map_x, map_y, map_w, map_h;
int map_pitch;
+ void *map_buffer;
uint32_t draw_offset; /* FBO */
/* boo Xorg 6.8.2 compat */