Lines Matching defs:box
126 for (int z = 0; z < ptrans->box.depth; z++) {
130 ptrans->box.z + z);
135 ptrans->box.height * z),
139 &ptrans->box);
233 const struct pipe_box *box,
253 prsc->width0 == box->width &&
254 prsc->height0 == box->height &&
255 prsc->depth0 == box->depth &&
274 ptrans->box = *box;
292 u_box_pixels_to_blocks(&ptrans->box, &ptrans->box, format);
302 ptrans->stride = ptrans->box.width * rsc->cpp;
303 ptrans->layer_stride = ptrans->stride * ptrans->box.height;
305 trans->map = malloc(ptrans->layer_stride * ptrans->box.depth);
308 for (int z = 0; z < ptrans->box.depth; z++) {
312 ptrans->box.z + z);
315 ptrans->box.height * z),
321 &ptrans->box);
330 ptrans->box.y * ptrans->stride +
331 ptrans->box.x * rsc->cpp +
332 ptrans->box.z * rsc->cube_map_stride;
346 const struct pipe_box *box,
356 return u_default_texture_subdata(pctx, prsc, level, usage, box,
373 for (int i = 0; i < box->depth; i++) {
377 box->z + i),
382 box);
1010 .box = {
1023 .box = {