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
;
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,
20 static INLINE
struct nouveau_context
*
21 nouveau_context(struct pipe_context
*pipe
)
23 return (struct nouveau_context
*)pipe
;