1 #ifndef __NV04_SCREEN_H__
2 #define __NV04_SCREEN_H__
4 #include "pipe/p_screen.h"
5 #include "nv04_surface_2d.h"
8 struct pipe_screen pipe
;
10 struct nouveau_winsys
*nvws
;
13 /* HW graphics objects */
14 struct nv04_surface_2d
*eng2d
;
15 struct nouveau_grobj
*fahrenheit
;
16 struct nouveau_grobj
*context_surfaces_3d
;
17 struct nouveau_notifier
*sync
;
21 static INLINE
struct nv04_screen
*
22 nv04_screen(struct pipe_screen
*screen
)
24 return (struct nv04_screen
*)screen
;