Merge branch 'master' into gallium-texture-transfer
[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 #include "nv04_surface_2d.h"
6
7 struct nv04_screen {
8 struct pipe_screen pipe;
9
10 struct nouveau_winsys *nvws;
11 unsigned chipset;
12
13 /* HW graphics objects */
14 struct nv04_surface_2d *eng2d;
15 struct nouveau_grobj *fahrenheit;
16 struct nouveau_grobj *context_surfaces_3d;
17 struct nouveau_notifier *sync;
18
19 };
20
21 static INLINE struct nv04_screen *
22 nv04_screen(struct pipe_screen *screen)
23 {
24 return (struct nv04_screen *)screen;
25 }
26
27 #endif