blob: d2cb33845f2b50afa75358ae0f0f3c14b000de43 [file]
#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, const struct pipe_screen_config *config, bool sw_vk);
struct {
const char * const name;
struct sw_winsys *(*create_winsys)();
} winsys[];
};
#endif