summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/state_tracker/sw_driver.h
blob: 1d59bd5fe56e2a11587e2a7cf21031d2b55d72c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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