summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv20/nv20_screen.h
diff options
context:
space:
mode:
authorPekka Paalanen <[email protected]>2008-11-08 18:04:33 +0200
committerPekka Paalanen <[email protected]>2008-11-08 18:04:33 +0200
commitb5a3c4272be1561646c8a104e4faae870f16ddee (patch)
tree3abefa1bbe1411102b9495d0e27e595ccc09e20d /src/gallium/drivers/nv20/nv20_screen.h
parent83bb81856066101dff85fdebea32df55ed8de4c5 (diff)
Nouveau: name replace for nv20.
No functional changes, only changed function, struct, macro etc. names. nv10 -> nv20 nv30 -> nv20 celsius -> kelvin Did not touch fifo command macros. Don't try to build nv20_vertprog.c for now. Signed-off-by: Pekka Paalanen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nv20/nv20_screen.h')
-rw-r--r--src/gallium/drivers/nv20/nv20_screen.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gallium/drivers/nv20/nv20_screen.h b/src/gallium/drivers/nv20/nv20_screen.h
index 3f8750a13f7..8f2f2e341db 100644
--- a/src/gallium/drivers/nv20/nv20_screen.h
+++ b/src/gallium/drivers/nv20/nv20_screen.h
@@ -1,22 +1,22 @@
-#ifndef __NV10_SCREEN_H__
-#define __NV10_SCREEN_H__
+#ifndef __NV20_SCREEN_H__
+#define __NV20_SCREEN_H__
#include "pipe/p_screen.h"
-struct nv10_screen {
+struct nv20_screen {
struct pipe_screen pipe;
struct nouveau_winsys *nvws;
/* HW graphics objects */
- struct nouveau_grobj *celsius;
+ struct nouveau_grobj *kelvin;
struct nouveau_notifier *sync;
};
-static INLINE struct nv10_screen *
-nv10_screen(struct pipe_screen *screen)
+static INLINE struct nv20_screen *
+nv20_screen(struct pipe_screen *screen)
{
- return (struct nv10_screen *)screen;
+ return (struct nv20_screen *)screen;
}
#endif