summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/common_context.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-01-14 15:45:29 +1000
committerDave Airlie <airlied@redhat.com>2009-01-14 15:45:29 +1000
commit8c6a7d01744fe6164a868c5f691bb119109773c0 (patch)
tree83e7ac7e9edfcc93193912dc1135c1007c5cde52 /src/mesa/drivers/dri/radeon/common_context.h
parente7d06a55c5443cfef73f5c2f60052cc26a1e9ff2 (diff)
radeon/r200/r300: make legacy emit non-r300 specific
Diffstat (limited to 'src/mesa/drivers/dri/radeon/common_context.h')
-rw-r--r--src/mesa/drivers/dri/radeon/common_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/common_context.h b/src/mesa/drivers/dri/radeon/common_context.h
index eb95dc9d75..a3d9fd70a7 100644
--- a/src/mesa/drivers/dri/radeon/common_context.h
+++ b/src/mesa/drivers/dri/radeon/common_context.h
@@ -8,6 +8,9 @@
#include "tnl/t_context.h"
#include "main/colormac.h"
+#include "radeon_screen.h"
+#include "radeon_drm.h"
+#include "dri_util.h"
/* This union is used to avoid warnings/miscompilation
with float to uint32_t casts due to strict-aliasing */
@@ -333,6 +336,7 @@ struct radeon_context {
void (*flush)(GLcontext *ctx);
void (*set_all_dirty)(GLcontext *ctx);
void (*update_draw_buffer)(GLcontext *ctx);
+ void (*emit_cs_header)(struct radeon_cs *cs, radeonContextPtr rmesa);
} vtbl;
};