Lines Matching refs:dstbox
1590 struct pipe_box dstbox; in util_blitter_copy_texture() local
1596 abs(srcbox->depth), &dstbox); in util_blitter_copy_texture()
1607 util_blitter_blit_generic(blitter, dst_view, &dstbox, in util_blitter_copy_texture()
1657 const struct pipe_box *dstbox, in do_blits() argument
1692 blitter_draw_tex(ctx, dstbox->x, dstbox->y, in do_blits()
1693 dstbox->x + dstbox->width, in do_blits()
1694 dstbox->y + dstbox->height, in do_blits()
1701 for (dst_z = 0; dst_z < dstbox->depth; dst_z++) { in do_blits()
1703 float dst2src_scale = srcbox->depth / (float)dstbox->depth; in do_blits()
1723 (dstbox->depth - 1) * dst2src_scale) * 0.5; in do_blits()
1741 blitter_draw_tex(ctx, dstbox->x, dstbox->y, in do_blits()
1742 dstbox->x + dstbox->width, in do_blits()
1743 dstbox->y + dstbox->height, in do_blits()
1754 blitter_draw_tex(ctx, dstbox->x, dstbox->y, in do_blits()
1755 dstbox->x + dstbox->width, in do_blits()
1756 dstbox->y + dstbox->height, in do_blits()
1768 if (dst_z < dstbox->depth-1) { in do_blits()
1780 const struct pipe_box *dstbox, in util_blitter_blit_generic() argument
1817 bool is_scaled = dstbox->width != abs(srcbox->width) || in util_blitter_blit_generic()
1818 dstbox->height != abs(srcbox->height); in util_blitter_blit_generic()
1963 do_blits(ctx, dst, dstbox, src, src_width0, src_height0, in util_blitter_blit_generic()
2070 struct pipe_box dstbox = {0}, srcbox = {0}; in util_blitter_generate_mipmap() local
2073 dstbox.width = u_minify(tex->width0, dst_level); in util_blitter_generate_mipmap()
2074 dstbox.height = u_minify(tex->height0, dst_level); in util_blitter_generate_mipmap()
2080 dstbox.depth = util_num_layers(tex, dst_level); in util_blitter_generate_mipmap()
2083 dstbox.z = srcbox.z = first_layer; in util_blitter_generate_mipmap()
2084 dstbox.depth = srcbox.depth = last_layer - first_layer + 1; in util_blitter_generate_mipmap()
2100 do_blits(ctx, dst_view, &dstbox, src_view, tex->width0, tex->height0, in util_blitter_generate_mipmap()