summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau_winsys/nouveau_winsys_pipe.h
blob: bcac60851cbd51ab6c0a0a23d5f481222f940f61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef NOUVEAU_PIPE_WINSYS_H
#define NOUVEAU_PIPE_WINSYS_H

#include "pipe/p_context.h"
#include "pipe/p_winsys.h"
#include "nouveau_context.h"

struct nouveau_pipe_winsys {
	struct pipe_winsys pws;

	struct nouveau_context *nv;
};

extern struct pipe_winsys *
nouveau_create_pipe_winsys(struct nouveau_context *nv);

struct pipe_context *
nouveau_create_softpipe(struct nouveau_context *nv);

struct pipe_context *
nouveau_pipe_create(struct nouveau_context *nv);

#endif