Merge branch 'mesa_7_5_branch'
[mesa.git] / src / gallium / drivers / nv50 / nv50_screen.h
1 #ifndef __NV50_SCREEN_H__
2 #define __NV50_SCREEN_H__
3
4 #include "nouveau/nouveau_screen.h"
5
6 struct nv50_screen {
7 struct nouveau_screen base;
8
9 struct nouveau_winsys *nvws;
10
11 unsigned cur_pctx;
12
13 struct nouveau_grobj *tesla;
14 struct nouveau_grobj *eng2d;
15 struct nouveau_grobj *m2mf;
16 struct nouveau_notifier *sync;
17
18 struct nouveau_bo *constbuf_misc[1];
19 struct nouveau_bo *constbuf_parm[2];
20
21 struct nouveau_resource *immd_heap[1];
22 struct nouveau_resource *parm_heap[2];
23
24 struct nouveau_bo *tic;
25 struct nouveau_bo *tsc;
26
27 struct nouveau_stateobj *static_init;
28 };
29
30 static INLINE struct nv50_screen *
31 nv50_screen(struct pipe_screen *screen)
32 {
33 return (struct nv50_screen *)screen;
34 }
35
36 void nv50_transfer_init_screen_functions(struct pipe_screen *);
37
38 #endif