revert between 56095 -> 55830 in arch
[AROS.git] / workbench / libs / mesa / src / gallium / drivers / nv50 / nv50_transfer.h
blobd3259ef4a5da9fa477bcaf7f0ab03aa126207d5f
2 #ifndef __NV50_TRANSFER_H__
3 #define __NV50_TRANSFER_H__
5 #include "pipe/p_state.h"
7 struct pipe_transfer *
8 nv50_miptree_transfer_new(struct pipe_context *pcontext,
9 struct pipe_resource *pt,
10 unsigned level,
11 unsigned usage,
12 const struct pipe_box *box);
13 void
14 nv50_miptree_transfer_del(struct pipe_context *pcontext,
15 struct pipe_transfer *ptx);
16 void *
17 nv50_miptree_transfer_map(struct pipe_context *pcontext,
18 struct pipe_transfer *ptx);
19 void
20 nv50_miptree_transfer_unmap(struct pipe_context *pcontext,
21 struct pipe_transfer *ptx);
23 struct nv50_m2mf_rect {
24 struct nouveau_bo *bo;
25 uint32_t base;
26 unsigned domain;
27 uint32_t pitch;
28 uint32_t width;
29 uint32_t x;
30 uint32_t height;
31 uint32_t y;
32 uint16_t depth;
33 uint16_t z;
34 uint16_t tile_mode;
35 uint16_t cpp;
38 #endif