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, bool sw_vk); 13 struct { 14 const char * const name; 15 struct sw_winsys *(*create_winsys)(); 16 } winsys[]; 17 }; 18 19 #endif 20