summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/radeon_common_context.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-03-22 19:11:46 +1000
committerDave Airlie <airlied@redhat.com>2009-03-22 19:11:46 +1000
commitc607a664dd005c001afda1fff1a68d41925fa86e (patch)
tree2c782c69823205ac215687f0f74ab82f8b1275c8 /src/mesa/drivers/dri/radeon/radeon_common_context.h
parent06cb6f7aa799e25b4a53f8c547a8f4ca909fe245 (diff)
radeon fbo: add draw offset calcs
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_common_context.h')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_common_context.h2
1 files changed, 2 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 e5ada622b0..612cc97f25 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common_context.h
+++ b/src/mesa/drivers/dri/radeon/radeon_common_context.h
@@ -82,6 +82,7 @@ struct radeon_renderbuffer
unsigned int width;
unsigned int height;
+ uint32_t draw_offset; /* FBO */
/* boo Xorg 6.8.2 compat */
int has_surface;
@@ -117,6 +118,7 @@ struct radeon_colorbuffer_state {
GLuint clear;
int roundEnable;
struct radeon_renderbuffer *rrb;
+ uint32_t draw_offset; /* offset into color renderbuffer - FBOs */
};
struct radeon_depthbuffer_state {