summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-01-09 21:50:56 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-01 23:30:21 -0800
commit4aaaecbfa6fa810899ef04de44f9f79ec4d8134f (patch)
tree8dfa7a713e8745f68336b5267ef42e0a6025bd7e /src/gallium/drivers/r300/r300_context.h
parente9b08e7373c00306bce398ea8d34f42e54f98c6d (diff)
A bit of r300 cleanup.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index ae2dab13ff..8393198200 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -23,9 +23,9 @@
#ifndef R300_CONTEXT_H
#define R300_CONTEXT_H
+#include "draw/draw_context.h"
#include "pipe/p_context.h"
-
-#include "r300_surface.h"
+#include "util/u_memory.h"
struct r300_context {
/* Parent class */
@@ -47,4 +47,11 @@ static struct r300_context* r300_context(struct pipe_context* context) {
return (struct r300_context*)context;
}
+/* Context initialization. */
+void r300_init_surface_functions(struct r300_context* r300);
+
+struct pipe_context* r300_create_context(struct pipe_screen* screen,
+ struct pipe_winsys* winsys,
+ struct amd_winsys* amd_winsys);
+
#endif /* R300_CONTEXT_H */ \ No newline at end of file