Lines Matching defs:box

114 	blit.src.box = *src_box;
118 blit.dst.box.x = dstx;
119 blit.dst.box.y = dsty;
120 blit.dst.box.z = dstz;
121 blit.dst.box.width = src_box->width;
122 blit.dst.box.height = src_box->height;
123 blit.dst.box.depth = src_box->depth;
143 src, transfer->level, &transfer->box);
148 &transfer->box);
160 u_box_3d(0, 0, 0, transfer->box.width, transfer->box.height, transfer->box.depth, &sbox);
164 transfer->box.x, transfer->box.y, transfer->box.z,
170 transfer->box.x, transfer->box.y, transfer->box.z,
176 const struct pipe_box *box,
185 if (!box)
191 box->z * (uint64_t)rtex->surface.u.legacy.level[level].slice_size_dw * 4 +
192 (box->y / rtex->surface.blk_h *
194 box->x / rtex->surface.blk_w) * rtex->surface.bpe;
391 struct pipe_box box;
395 util_num_layers(&templ, i), &box);
398 &rtex->resource.b.b, i, &box);
541 struct pipe_box box;
542 u_box_1d(0, newb->width0, &box);
544 &res->b.b, 0, &box);
1219 * Initialize the pipe_resource descriptor to be of the same size as the box,
1225 const struct pipe_box *box,
1230 res->width0 = box->width;
1231 res->height0 = box->height;
1237 /* We must set the correct texture target and dimensions for a 3D box. */
1238 if (box->depth > 1 && util_max_layer(orig, level) > 0) {
1240 res->array_size = box->depth;
1249 const struct pipe_box *box)
1257 box->x, box->y, box->z,
1258 box->width, box->height,
1259 box->depth);
1287 const struct pipe_box *box,
1299 assert(box->width && box->height && box->depth);
1309 box->width >= 4 && box->height >= 4 &&
1313 usage, box);
1342 usage, box))
1355 trans->b.b.box = *box;
1373 r600_init_temp_resource_from_box(&resource, texture, box, level, 0);
1389 r600_copy_region_with_blit(ctx, temp, 0, 0, 0, 0, texture, level, box);
1391 0, 0, 0, box->depth, 0, 0);
1410 box->z, box->z + box->depth - 1,
1414 level, box,
1425 r600_init_temp_resource_from_box(&resource, texture, box, level,
1452 offset = r600_texture_get_offset(rctx->screen, rtex, level, box,
1479 transfer->box.x, transfer->box.y, transfer->box.z,
1481 &transfer->box);
1593 const struct pipe_box *box,
1602 tmpl.u.tex.first_layer = box->z;
1603 tmpl.u.tex.last_layer = box->z + box->depth - 1;
1624 box->x, box->y,
1625 box->width, box->height, false);
1635 box->x, box->y,
1636 box->width, box->height, false);
1640 box->x, box->y,
1641 box->width, box->height);