nouveau: Very rough cut at gallium winsys + nv40 pipe driver.
[mesa.git] / src / mesa / drivers / dri / nouveau_winsys / nouveau_winsys_pipe.h
1 #ifndef NOUVEAU_PIPE_WINSYS_H
2 #define NOUVEAU_PIPE_WINSYS_H
3
4 #include "pipe/p_context.h"
5 #include "pipe/p_winsys.h"
6 #include "nouveau_context.h"
7
8 struct nouveau_pipe_winsys {
9 struct pipe_winsys pws;
10
11 struct nouveau_context *nv;
12 };
13
14 extern struct pipe_winsys *
15 nouveau_create_pipe_winsys(struct nouveau_context *nv);
16
17 struct pipe_context *
18 nouveau_create_softpipe(struct nouveau_context *nv);
19
20 struct pipe_context *
21 nouveau_pipe_create(struct nouveau_context *nv);
22
23 #endif