Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / libs / mesa / src / gallium / drivers / nouveau / nouveau_context.h
blob696e0d3f24e09f0cc13388cb9a45e54df3c7dd70
1 #ifndef __NOUVEAU_CONTEXT_H__
2 #define __NOUVEAU_CONTEXT_H__
4 #include "pipe/p_context.h"
6 struct nouveau_context {
7 struct pipe_context pipe;
8 struct nouveau_screen *screen;
10 boolean vbo_dirty;
12 void (*copy_data)(struct nouveau_context *,
13 struct nouveau_bo *dst, unsigned, unsigned,
14 struct nouveau_bo *src, unsigned, unsigned, unsigned);
15 void (*push_data)(struct nouveau_context *,
16 struct nouveau_bo *dst, unsigned, unsigned,
17 unsigned, void *);
20 static INLINE struct nouveau_context *
21 nouveau_context(struct pipe_context *pipe)
23 return (struct nouveau_context *)pipe;
26 #endif