2 #ifndef NV50_TRANSFER_H
3 #define NV50_TRANSFER_H
5 #include "pipe/p_state.h"
9 nv50_miptree_transfer_new(struct pipe_context
*pcontext
,
10 struct pipe_resource
*pt
,
11 struct pipe_subresource sr
,
13 const struct pipe_box
*box
);
15 nv50_miptree_transfer_del(struct pipe_context
*pcontext
,
16 struct pipe_transfer
*ptx
);
18 nv50_miptree_transfer_map(struct pipe_context
*pcontext
,
19 struct pipe_transfer
*ptx
);
21 nv50_miptree_transfer_unmap(struct pipe_context
*pcontext
,
22 struct pipe_transfer
*ptx
);
25 nv50_upload_sifc(struct nv50_context
*nv50
,
26 struct nouveau_bo
*bo
, unsigned dst_offset
, unsigned reloc
,
27 unsigned dst_format
, int dst_w
, int dst_h
, int dst_pitch
,
28 void *src
, unsigned src_format
, int src_pitch
,
29 int x
, int y
, int w
, int h
, int cpp
);