summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/common_context.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-01-29 20:46:31 +1000
committerDave Airlie <airlied@redhat.com>2009-01-29 20:46:31 +1000
commit70661f678edcc9b6dd5005016e3355ec4546e716 (patch)
treeb9e6f1b469bd5e3cef5fbe72485112092585b994 /src/mesa/drivers/dri/radeon/common_context.h
parentc9bb5cd20e5468168d54fe461c853926072fa813 (diff)
WIP comit
Diffstat (limited to 'src/mesa/drivers/dri/radeon/common_context.h')
-rw-r--r--src/mesa/drivers/dri/radeon/common_context.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/common_context.h b/src/mesa/drivers/dri/radeon/common_context.h
index 471e7cdfb1..1ed33e2aec 100644
--- a/src/mesa/drivers/dri/radeon/common_context.h
+++ b/src/mesa/drivers/dri/radeon/common_context.h
@@ -247,6 +247,19 @@ struct radeon_dma {
GLuint nr_released_bufs;
};
+/* radeon_swtcl.c
+ */
+struct radeon_swtcl_info {
+ struct radeon_bo *bo;
+
+ /* Fallback rasterization functions
+ */
+ GLuint hw_primitive;
+ GLenum render_primitive;
+ GLuint numverts;
+
+};
+
struct radeon_ioctl {
GLuint vertex_offset;
GLuint vertex_size;
@@ -403,6 +416,7 @@ struct radeon_context {
/* Derived state - for r300 only */
struct radeon_state state;
+ struct radeon_swtcl swtcl;
/* Configuration cache
*/
driOptionCache optionCache;