Lines Matching defs:box

301       struct pipe_box box = {0};
306 box.x = cbuf->buffer_offset;
307 box.width = cbuf->buffer_size - cbuf->buffer_offset;
309 uint8_t *map = state->pctx->buffer_map(state->pctx, pres, 0, PIPE_MAP_READ, &box, &xfer);
1811 info.src.box.x = state->render_area.offset.x;
1812 info.src.box.y = state->render_area.offset.y;
1813 info.src.box.width = state->render_area.extent.width;
1814 info.src.box.height = state->render_area.extent.height;
1815 info.src.box.depth = state->framebuffer.layers;
1817 info.dst.box = info.src.box;
1848 info.src.box.x = state->render_area.offset.x;
1849 info.src.box.y = state->render_area.offset.y;
1850 info.src.box.width = state->render_area.extent.width;
1851 info.src.box.height = state->render_area.extent.height;
1852 info.src.box.depth = state->framebuffer.layers;
1854 info.dst.box = info.src.box;
1885 struct pipe_box box;
1890 &box);
1891 state->pctx->resource_copy_region(state->pctx, dst->image->bo, level, 0, 0, 0, src->image->bo, level, &box);
2346 struct pipe_box box, dbox;
2352 box.x = copycmd->pRegions[i].imageOffset.x;
2353 box.y = copycmd->pRegions[i].imageOffset.y;
2354 box.z = src_image->vk.image_type == VK_IMAGE_TYPE_3D ? copycmd->pRegions[i].imageOffset.z : copycmd->pRegions[i].imageSubresource.baseArrayLayer;
2355 box.width = copycmd->pRegions[i].imageExtent.width;
2356 box.height = copycmd->pRegions[i].imageExtent.height;
2357 box.depth = src_image->vk.image_type == VK_IMAGE_TYPE_3D ? copycmd->pRegions[i].imageExtent.depth : copycmd->pRegions[i].imageSubresource.layerCount;
2363 &box,
2398 box.depth,
2407 box.depth,
2421 struct pipe_box box, sbox;
2441 box.x = copycmd->pRegions[i].imageOffset.x;
2442 box.y = copycmd->pRegions[i].imageOffset.y;
2443 box.z = dst_image->vk.image_type == VK_IMAGE_TYPE_3D ? copycmd->pRegions[i].imageOffset.z : copycmd->pRegions[i].imageSubresource.baseArrayLayer;
2444 box.width = copycmd->pRegions[i].imageExtent.width;
2445 box.height = copycmd->pRegions[i].imageExtent.height;
2446 box.depth = dst_image->vk.image_type == VK_IMAGE_TYPE_3D ? copycmd->pRegions[i].imageExtent.depth : copycmd->pRegions[i].imageSubresource.layerCount;
2452 &box,
2473 box.depth,
2484 box.depth,
2538 struct pipe_box box = { 0 };
2539 u_box_1d(copycmd->pRegions[i].srcOffset, copycmd->pRegions[i].size, &box);
2542 lvp_buffer_from_handle(copycmd->srcBuffer)->bo, 0, &box);
2582 info.dst.box.x = dstX0;
2583 info.src.box.x = srcX0;
2584 info.dst.box.width = dstX1 - dstX0;
2585 info.src.box.width = srcX1 - srcX0;
2587 info.dst.box.x = dstX1;
2588 info.src.box.x = srcX1;
2589 info.dst.box.width = dstX0 - dstX1;
2590 info.src.box.width = srcX0 - srcX1;
2594 info.dst.box.y = dstY0;
2595 info.src.box.y = srcY0;
2596 info.dst.box.height = dstY1 - dstY0;
2597 info.src.box.height = srcY1 - srcY0;
2599 info.dst.box.y = dstY1;
2600 info.src.box.y = srcY1;
2601 info.dst.box.height = dstY0 - dstY1;
2602 info.src.box.height = srcY0 - srcY1;
2609 info.dst.box.z = dstZ0;
2610 info.src.box.z = srcZ0;
2611 info.dst.box.depth = dstZ1 - dstZ0;
2612 info.src.box.depth = srcZ1 - srcZ0;
2614 info.dst.box.z = dstZ1;
2615 info.src.box.z = srcZ1;
2616 info.dst.box.depth = dstZ0 - dstZ1;
2617 info.src.box.depth = srcZ0 - srcZ1;
2620 info.src.box.z = blitcmd->pRegions[i].srcSubresource.baseArrayLayer;
2621 info.dst.box.z = blitcmd->pRegions[i].dstSubresource.baseArrayLayer;
2622 info.src.box.depth = blitcmd->pRegions[i].srcSubresource.layerCount;
2623 info.dst.box.depth = blitcmd->pRegions[i].dstSubresource.layerCount;
2657 struct pipe_box box;
2659 u_box_1d(updcmd->dst_offset, updcmd->data_size, &box);
2664 &box,
3041 struct pipe_box box = {0};
3042 box.x = offset;
3043 box.width = copycmd->stride;
3044 box.height = 1;
3045 box.depth = 1;
3047 lvp_buffer_from_handle(copycmd->dst_buffer)->bo, 0, PIPE_MAP_READ, &box,
3050 memset(map, 0, box.width);
3066 struct pipe_box box;
3067 box.x = 0;
3068 box.y = 0;
3069 box.z = 0;
3073 box.width = u_minify(image->bo->width0, j);
3074 box.height = u_minify(image->bo->height0, j);
3075 box.depth = 1;
3077 box.depth = u_minify(image->bo->depth0, j);
3079 box.y = range->baseArrayLayer;
3080 box.height = vk_image_subresource_layer_count(&image->vk, range);
3081 box.depth = 1;
3083 box.z = range->baseArrayLayer;
3084 box.depth = vk_image_subresource_layer_count(&image->vk, range);
3088 j, &box, (void *)col_val);
3217 info.dst.box.x = dstX0;
3218 info.dst.box.y = dstY0;
3219 info.src.box.x = srcX0;
3220 info.src.box.y = srcY0;
3222 info.dst.box.width = resolvecmd->pRegions[i].extent.width;
3223 info.src.box.width = resolvecmd->pRegions[i].extent.width;
3224 info.dst.box.height = resolvecmd->pRegions[i].extent.height;
3225 info.src.box.height = resolvecmd->pRegions[i].extent.height;
3227 info.dst.box.depth = resolvecmd->pRegions[i].dstSubresource.layerCount;
3228 info.src.box.depth = resolvecmd->pRegions[i].srcSubresource.layerCount;
3231 info.src.box.z = resolvecmd->pRegions[i].srcOffset.z + resolvecmd->pRegions[i].srcSubresource.baseArrayLayer;
3234 info.dst.box.z = resolvecmd->pRegions[i].dstOffset.z + resolvecmd->pRegions[i].dstSubresource.baseArrayLayer;