1 #ifndef __NV30_SCREEN_H__
2 #define __NV30_SCREEN_H__
4 #include "nouveau/nouveau_screen.h"
6 #include "nv04/nv04_surface_2d.h"
9 struct nouveau_screen base
;
11 struct nouveau_winsys
*nvws
;
15 /* HW graphics objects */
16 struct nv04_surface_2d
*eng2d
;
17 struct nouveau_grobj
*rankine
;
18 struct nouveau_notifier
*sync
;
20 /* Query object resources */
21 struct nouveau_notifier
*query
;
22 struct nouveau_resource
*query_heap
;
24 /* Vtxprog resources */
25 struct nouveau_resource
*vp_exec_heap
;
26 struct nouveau_resource
*vp_data_heap
;
28 /* Current 3D state of channel */
29 struct nouveau_stateobj
*state
[NV30_STATE_MAX
];
32 static INLINE
struct nv30_screen
*
33 nv30_screen(struct pipe_screen
*screen
)
35 return (struct nv30_screen
*)screen
;
39 nv30_screen_init_transfer_functions(struct pipe_screen
*pscreen
);