1 2 #ifndef _SW_DRIVER_H_ 3 #define _SW_DRIVER_H_ 4 5 #include "pipe/p_compiler.h" 6 7 struct pipe_screen; 8 struct sw_winsys; 9 10 struct sw_driver_descriptor 11 { 12 struct pipe_screen *(*create_screen)(struct sw_winsys *ws); 13 struct { 14 const char * const name; 15 struct sw_winsys *(*create_winsys)(); 16 } winsys[]; 17 }; 18 19 extern const struct sw_driver_descriptor swrast_driver_descriptor; 20 21 #endif 22