1 #ifndef __NV20_SCREEN_H__
2 #define __NV20_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
;
12 /* HW graphics objects */
13 struct nv04_surface_2d
*eng2d
;
14 struct nouveau_grobj
*kelvin
;
15 struct nouveau_notifier
*sync
;
18 static INLINE
struct nv20_screen
*
19 nv20_screen(struct pipe_screen
*screen
)
21 return (struct nv20_screen
*)screen
;