1 #ifndef __NV30_SCREEN_H__
2 #define __NV30_SCREEN_H__
4 #include "pipe/p_screen.h"
5 #include "nv04/nv04_surface_2d.h"
8 struct pipe_screen pipe
;
10 struct nouveau_winsys
*nvws
;
14 /* HW graphics objects */
15 struct nv04_surface_2d
*eng2d
;
16 struct nouveau_grobj
*rankine
;
17 struct nouveau_notifier
*sync
;
19 /* Query object resources */
20 struct nouveau_notifier
*query
;
21 struct nouveau_resource
*query_heap
;
23 /* Vtxprog resources */
24 struct nouveau_resource
*vp_exec_heap
;
25 struct nouveau_resource
*vp_data_heap
;
27 /* Current 3D state of channel */
28 struct nouveau_stateobj
*state
[NV30_STATE_MAX
];
31 static INLINE
struct nv30_screen
*
32 nv30_screen(struct pipe_screen
*screen
)
34 return (struct nv30_screen
*)screen
;