1 #ifndef __NV40_SCREEN_H__
2 #define __NV40_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
*curie
;
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
[NV40_STATE_MAX
];
29 static INLINE
struct nv40_screen
*
30 nv40_screen(struct pipe_screen
*screen
)
32 return (struct nv40_screen
*)screen
;