diff options
Diffstat (limited to 'src/gallium/include/frontend/sw_driver.h')
-rw-r--r-- | src/gallium/include/frontend/sw_driver.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/gallium/include/frontend/sw_driver.h b/src/gallium/include/frontend/sw_driver.h new file mode 100644 index 00000000000..1d59bd5fe56 --- /dev/null +++ b/src/gallium/include/frontend/sw_driver.h @@ -0,0 +1,21 @@ + +#ifndef _SW_DRIVER_H_ +#define _SW_DRIVER_H_ + +#include "pipe/p_compiler.h" + +struct pipe_screen; +struct sw_winsys; + +struct sw_driver_descriptor +{ + struct pipe_screen *(*create_screen)(struct sw_winsys *ws); + struct { + const char * const name; + struct sw_winsys *(*create_winsys)(); + } winsys[]; +}; + +extern const struct sw_driver_descriptor swrast_driver_descriptor; + +#endif |