summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-04-18 02:39:50 +0200
committerMarek Olšák <[email protected]>2011-04-18 02:52:32 +0200
commitd35aeff4bb0b03450b2c3c08bd7f84db5bf43283 (patch)
tree7572cae9f9022991404b3a9d74882858062fe095 /src/gallium/drivers/r300/r300_screen.h
parentf79717d27aaf471b9cd6eed0d74cbf37ec697361 (diff)
r300g/winsys: rename r300->radeon and do a little cleanup
Renaming a few files, types, and functions. Also make the winsys independent of r300g.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.h')
-rw-r--r--src/gallium/drivers/r300/r300_screen.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.h b/src/gallium/drivers/r300/r300_screen.h
index 576f9c1f4a9..bca86edb1d7 100644
--- a/src/gallium/drivers/r300/r300_screen.h
+++ b/src/gallium/drivers/r300/r300_screen.h
@@ -32,13 +32,13 @@
#include <stdio.h>
-struct r300_winsys_screen;
+struct radeon_winsys;
struct r300_screen {
/* Parent class */
struct pipe_screen screen;
- struct r300_winsys_screen *rws;
+ struct radeon_winsys *rws;
/* Chipset capabilities */
struct r300_capabilities caps;
@@ -61,8 +61,8 @@ static INLINE struct r300_screen* r300_screen(struct pipe_screen* screen) {
return (struct r300_screen*)screen;
}
-static INLINE struct r300_winsys_screen *
-r300_winsys_screen(struct pipe_screen *screen) {
+static INLINE struct radeon_winsys *
+radeon_winsys(struct pipe_screen *screen) {
return r300_screen(screen)->rws;
}