2 #ifndef __NVC0_TRANSFER_H__
3 #define __NVC0_TRANSFER_H__
5 #include "pipe/p_state.h"
8 nvc0_miptree_transfer_new(struct pipe_context
*pcontext
,
9 struct pipe_resource
*pt
,
12 const struct pipe_box
*box
);
14 nvc0_miptree_transfer_del(struct pipe_context
*pcontext
,
15 struct pipe_transfer
*ptx
);
17 nvc0_miptree_transfer_map(struct pipe_context
*pcontext
,
18 struct pipe_transfer
*ptx
);
20 nvc0_miptree_transfer_unmap(struct pipe_context
*pcontext
,
21 struct pipe_transfer
*ptx
);
23 struct nvc0_m2mf_rect
{
24 struct nouveau_bo
*bo
;
39 nvc0_m2mf_transfer_rect(struct pipe_screen
*pscreen
,
40 const struct nvc0_m2mf_rect
*dst
,
41 const struct nvc0_m2mf_rect
*src
,
42 uint32_t nblocksx
, uint32_t nblocksy
);