summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-01-12 01:40:50 -0800
committerCorbin Simpson <[email protected]>2009-02-01 23:30:22 -0800
commitfbeeb6675733f5b2da36d40b0142dadf8cc953b4 (patch)
treeaadefefde5fa45534c6b6c13faf2ef6fbc29c0d6 /src/gallium/drivers/r300/r300_context.h
parent0c59004fe3cc9f691c73da2b4a9321c7682410f4 (diff)
r300, amd: Make everything build. (Not necessarily work, mind you.)
Lots of structural work, especially in getting the two parts to talk nicely. Todo: - Get damn blitter working. - Add CS flush. - Reverse order of above two items.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index 83931982006..119d46af589 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -31,15 +31,10 @@ struct r300_context {
/* Parent class */
struct pipe_context context;
- struct amd_winsys* winsys;
+ /* The interface to the windowing system, etc. */
+ struct r300_winsys* winsys;
+ /* Draw module. Used mostly for SW TCL. */
struct draw_context* draw;
-
- /* CS object. This is very much like Intel's batchbuffer.
- * Fill it full of dwords and relocs and then submit.
- * Repeat as needed. */
- /* Note: Unlike Mesa's version of this, we don't keep a copy of the CSM
- * that was used to create this CS. Is this a good idea? */
- struct radeon_cs* cs;
};
/* Convenience cast wrapper. */
@@ -52,6 +47,6 @@ 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);
+ struct r300_winsys* r300_winsys);
#endif /* R300_CONTEXT_H */ \ No newline at end of file