Lines Matching defs:box
85 ptrans->box.z * rsc->cube_map_stride,
89 &ptrans->box);
102 const struct pipe_box *box,
119 prsc->width0 == box->width &&
120 prsc->height0 == box->height &&
121 prsc->depth0 == box->depth &&
167 ptrans->box = *box;
189 u_box_pixels_to_blocks(&ptrans->box, &ptrans->box, format);
191 ptrans->stride = ptrans->box.width * rsc->cpp;
192 ptrans->layer_stride = ptrans->stride * ptrans->box.height;
194 trans->map = malloc(ptrans->layer_stride * ptrans->box.depth);
199 ptrans->box.z * rsc->cube_map_stride,
202 &ptrans->box);
210 ptrans->box.y / util_format_get_blockheight(format) * ptrans->stride +
211 ptrans->box.x / util_format_get_blockwidth(format) * rsc->cpp +
212 ptrans->box.z * rsc->cube_map_stride;
226 const struct pipe_box *box,
236 box->depth != 1 ||
238 return u_default_texture_subdata(pctx, prsc, level, usage, box,
252 box->z * rsc->cube_map_stride,
256 box);
1038 .box = {
1051 .box = {