Lines Matching defs:box
46 blit.src.box = *src_box;
50 blit.dst.box.x = dst_box->x;
51 blit.dst.box.y = dst_box->y;
52 blit.dst.box.z = dst_box->z;
53 blit.dst.box.width = dst_box->width;
54 blit.dst.box.height = dst_box->height;
55 blit.dst.box.depth = dst_box->depth;
78 const struct pipe_box *box,
85 res->width0 = box->width;
86 res->height0 = box->height;
92 /* We must set the correct texture target and dimensions for a 3D box. */
93 if (box->depth > 1 && util_max_layer(orig, level) > 0)
105 res->array_size = box->depth;
108 res->depth0 = box->depth;
119 const struct pipe_box *box,
128 &vtex->metadata, level, usage, box);
145 struct pipe_box dst_box = *box;
163 level, box);
192 box->x, box->y, box->z,
237 const struct pipe_box *box,
241 return texture_transfer_map_resolve(ctx, resource, level, usage, box,
244 return virgl_resource_transfer_map(ctx, resource, level, usage, box, transfer);
249 const struct pipe_box *box)
252 vws->transfer_put(vws, trans->hw_res, box,
270 &trans->resolve_transfer->box);
280 &transfer->box,
282 &trans->resolve_transfer->box);