Merge remote branch 'upstream/gallium-0.2' into nouveau-gallium-0.2
[mesa.git] / src / gallium / drivers / nv04 / nv04_screen.h
1 #ifndef __NV04_SCREEN_H__
2 #define __NV04_SCREEN_H__
3
4 #include "pipe/p_screen.h"
5
6 struct nv04_screen {
7 struct pipe_screen pipe;
8
9 struct nouveau_winsys *nvws;
10 unsigned chipset;
11
12 /* HW graphics objects */
13 struct nouveau_grobj *fahrenheit;
14 struct nouveau_grobj *context_surfaces_3d;
15 struct nouveau_notifier *sync;
16
17 };
18
19 static INLINE struct nv04_screen *
20 nv04_screen(struct pipe_screen *screen)
21 {
22 return (struct nv04_screen *)screen;
23 }
24
25 #endif