Tizen 2.0 Release
[profile/ivi/osmesa.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_transfer_new(struct pipe_context *pcontext,
11                           struct pipe_resource *pt,
12                           unsigned level,
13                           unsigned usage,
14                           const struct pipe_box *box);
15
16 void *
17 nvfx_transfer_map(struct pipe_context *pcontext,
18                           struct pipe_transfer *ptx);
19 void
20 nvfx_transfer_unmap(struct pipe_context *pcontext,
21                             struct pipe_transfer *ptx);
22
23
24 #endif