Merge branch '7.8'
[mesa.git] / src / gallium / drivers / nvfx / nvfx_transfer.h
1
2 #ifndef NVFX_TRANSFER_H
3 #define NVFX_TRANSFER_H
4
5 #include "util/u_transfer.h"
6 #include "pipe/p_state.h"
7
8
9 struct pipe_transfer *
10 nvfx_miptree_transfer_new(struct pipe_context *pcontext,
11 struct pipe_resource *pt,
12 struct pipe_subresource sr,
13 unsigned usage,
14 const struct pipe_box *box);
15 void
16 nvfx_miptree_transfer_del(struct pipe_context *pcontext,
17 struct pipe_transfer *ptx);
18 void *
19 nvfx_miptree_transfer_map(struct pipe_context *pcontext,
20 struct pipe_transfer *ptx);
21 void
22 nvfx_miptree_transfer_unmap(struct pipe_context *pcontext,
23 struct pipe_transfer *ptx);
24
25
26 #endif