• Home
  • Raw
  • Download

Lines Matching refs:dstbox

1717    struct pipe_box dstbox;  in util_blitter_copy_texture()  local
1723 abs(srcbox->depth), &dstbox); in util_blitter_copy_texture()
1734 util_blitter_blit_generic(blitter, dst_view, &dstbox, in util_blitter_copy_texture()
1784 const struct pipe_box *dstbox, in do_blits() argument
1819 blitter_draw_tex(ctx, dstbox->x, dstbox->y, in do_blits()
1820 dstbox->x + dstbox->width, in do_blits()
1821 dstbox->y + dstbox->height, in do_blits()
1828 for (dst_z = 0; dst_z < dstbox->depth; dst_z++) { in do_blits()
1833 float src_z_step = src_depth / (float)dstbox->depth; in do_blits()
1852 depth_center_offset = 0.5 / dstbox->depth * src_depth; in do_blits()
1876 blitter_draw_tex(ctx, dstbox->x, dstbox->y, in do_blits()
1877 dstbox->x + dstbox->width, in do_blits()
1878 dstbox->y + dstbox->height, in do_blits()
1889 blitter_draw_tex(ctx, dstbox->x, dstbox->y, in do_blits()
1890 dstbox->x + dstbox->width, in do_blits()
1891 dstbox->y + dstbox->height, in do_blits()
1903 if (dst_z < dstbox->depth-1) { in do_blits()
1915 const struct pipe_box *dstbox, in util_blitter_blit_generic() argument
1951 bool is_scaled = dstbox->width != abs(srcbox->width) || in util_blitter_blit_generic()
1952 dstbox->height != abs(srcbox->height); in util_blitter_blit_generic()
2125 do_blits(ctx, dst, dstbox, src, src_width0, src_height0, in util_blitter_blit_generic()
2233 struct pipe_box dstbox = {0}, srcbox = {0}; in util_blitter_generate_mipmap() local
2236 dstbox.width = u_minify(tex->width0, dst_level); in util_blitter_generate_mipmap()
2237 dstbox.height = u_minify(tex->height0, dst_level); in util_blitter_generate_mipmap()
2243 dstbox.depth = util_num_layers(tex, dst_level); in util_blitter_generate_mipmap()
2246 dstbox.z = srcbox.z = first_layer; in util_blitter_generate_mipmap()
2247 dstbox.depth = srcbox.depth = last_layer - first_layer + 1; in util_blitter_generate_mipmap()
2263 do_blits(ctx, dst_view, &dstbox, src_view, tex->width0, tex->height0, in util_blitter_generate_mipmap()
2834 const struct pipe_box *dstbox, in util_blitter_stencil_fallback() argument
2852 util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstbox->z); in util_blitter_stencil_fallback()
2868 fb_state.width = dstbox->width; in util_blitter_stencil_fallback()
2869 fb_state.height = dstbox->height; in util_blitter_stencil_fallback()
2880 MAX2(dstbox->x, scissor->minx), in util_blitter_stencil_fallback()
2881 MAX2(dstbox->y, scissor->miny), in util_blitter_stencil_fallback()
2882 MIN2(dstbox->x + dstbox->width, scissor->maxx) - dstbox->x, in util_blitter_stencil_fallback()
2883 MIN2(dstbox->y + dstbox->height, scissor->maxy) - dstbox->y, in util_blitter_stencil_fallback()
2888 dstbox->x, dstbox->y, in util_blitter_stencil_fallback()
2889 dstbox->width, dstbox->height, in util_blitter_stencil_fallback()
2924 dstbox->x, dstbox->y, in util_blitter_stencil_fallback()
2925 dstbox->x + dstbox->width, in util_blitter_stencil_fallback()
2926 dstbox->y + dstbox->height, in util_blitter_stencil_fallback()