summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nvfx_transfer.h
blob: 20f20d5b0b8b0e0ae106670282853d9f71b5cc0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

#ifndef NVFX_TRANSFER_H
#define NVFX_TRANSFER_H

#include "util/u_transfer.h"
#include "pipe/p_state.h"


struct pipe_transfer *
nvfx_transfer_new(struct pipe_context *pcontext,
			  struct pipe_resource *pt,
			  struct pipe_subresource sr,
			  unsigned usage,
			  const struct pipe_box *box);

void *
nvfx_transfer_map(struct pipe_context *pcontext,
			  struct pipe_transfer *ptx);
void
nvfx_transfer_unmap(struct pipe_context *pcontext,
			    struct pipe_transfer *ptx);


#endif