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
;
13 /* HW graphics objects */
14 struct nouveau_grobj
*rankine
;
15 struct nouveau_notifier
*sync
;
17 /* Query object resources */
18 struct nouveau_notifier
*query
;
19 struct nouveau_resource
*query_heap
;
21 /* Vtxprog resources */
22 struct nouveau_resource
*vp_exec_heap
;
23 struct nouveau_resource
*vp_data_heap
;
25 /* Current 3D state of channel */
26 struct nouveau_stateobj
*state
[NV30_STATE_MAX
];
29 static INLINE
struct nv30_screen
*
30 nv30_screen(struct pipe_screen
*screen
)
32 return (struct nv30_screen
*)screen
;