1 #ifndef __NV30_SCREEN_H__
2 #define __NV30_SCREEN_H__
4 #include "pipe/p_screen.h"
7 struct pipe_screen pipe
;
9 struct nouveau_winsys
*nvws
;
11 /* HW graphics objects */
12 struct nouveau_grobj
*rankine
;
13 struct nouveau_notifier
*sync
;
15 /* Query object resources */
16 struct nouveau_notifier
*query
;
17 struct nouveau_resource
*query_heap
;
19 /* Vtxprog resources */
20 struct nouveau_resource
*vp_exec_heap
;
21 struct nouveau_resource
*vp_data_heap
;
23 /* Current 3D state of channel */
24 struct nouveau_stateobj
*state
[NV30_STATE_MAX
];
27 static INLINE
struct nv30_screen
*
28 nv30_screen(struct pipe_screen
*screen
)
30 return (struct nv30_screen
*)screen
;