projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
svga: adapt to stencil ref changes
[mesa.git]
/
src
/
gallium
/
drivers
/
nv30
/
nv30_screen.h
diff --git
a/src/gallium/drivers/nv30/nv30_screen.h
b/src/gallium/drivers/nv30/nv30_screen.h
index b7ddc2a95942757397c8b9b926ccaa0f25e38d90..8591cd31cab9d8899ddfde7828140d12c44a59e8 100644
(file)
--- a/
src/gallium/drivers/nv30/nv30_screen.h
+++ b/
src/gallium/drivers/nv30/nv30_screen.h
@@
-1,16
+1,19
@@
#ifndef __NV30_SCREEN_H__
#define __NV30_SCREEN_H__
#ifndef __NV30_SCREEN_H__
#define __NV30_SCREEN_H__
-#include "pipe/p_screen.h"
+#include "nouveau/nouveau_screen.h"
+
+#include "nouveau/nv04_surface_2d.h"
struct nv30_screen {
struct nv30_screen {
- struct
pipe_screen pip
e;
+ struct
nouveau_screen bas
e;
struct nouveau_winsys *nvws;
struct nouveau_winsys *nvws;
-
unsigned cur_p
ctx;
+
struct nv30_context *cur_
ctx;
/* HW graphics objects */
/* HW graphics objects */
+ struct nv04_surface_2d *eng2d;
struct nouveau_grobj *rankine;
struct nouveau_notifier *sync;
struct nouveau_grobj *rankine;
struct nouveau_notifier *sync;
@@
-32,4
+35,7
@@
nv30_screen(struct pipe_screen *screen)
return (struct nv30_screen *)screen;
}
return (struct nv30_screen *)screen;
}
+void
+nv30_screen_init_transfer_functions(struct pipe_screen *pscreen);
+
#endif
#endif