Home
last modified time | relevance | path

Searched refs:dst_level (Results 1 – 25 of 74) sorted by relevance

123

/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_copy_image.c42 int dst_x, int dst_y, int dst_z, unsigned dst_level, in copy_miptrees() argument
56 dst_mt, dst_level, dst_z, dst_x, dst_y, in copy_miptrees()
63 dst_mt, dst_level, dst_z, in copy_miptrees()
80 unsigned src_level, dst_level; in intel_copy_image_sub_data() local
101 dst_level = dst_image->Level + dst_image->TexObject->MinLevel; in intel_copy_image_sub_data()
112 dst_level = 0; in intel_copy_image_sub_data()
116 dst_mt, dst_x, dst_y, dst_z, dst_level, in intel_copy_image_sub_data()
130 dst_mt->stencil_mt, dst_x, dst_y, dst_z, dst_level, in intel_copy_image_sub_data()
Dbrw_generate_mipmap.c125 for (unsigned dst_level = base_level + 1; in brw_generate_mipmap() local
126 dst_level <= last_level; in brw_generate_mipmap()
127 dst_level++) { in brw_generate_mipmap()
129 const unsigned src_level = dst_level - 1; in brw_generate_mipmap()
133 SWIZZLE_XYZW, mt, dst_level, layer, format, in brw_generate_mipmap()
138 minify(base_size->width, dst_level), in brw_generate_mipmap()
139 minify(base_size->height, dst_level), in brw_generate_mipmap()
Dintel_blit.h38 int dst_level, int dst_slice,
48 int dst_level, int dst_slice,
Dbrw_blorp.c278 unsigned dst_level, unsigned dst_layer, in brw_blorp_blit_miptrees() argument
295 dst_level, dst_layer, dst_x0, dst_y0, dst_x1, dst_y1, in brw_blorp_blit_miptrees()
407 intel_miptree_prepare_access(brw, dst_mt, dst_level, 1, dst_layer, 1, in brw_blorp_blit_miptrees()
414 &dst_level, dst_layer, 1); in brw_blorp_blit_miptrees()
427 &dst_surf, dst_level, dst_layer, in brw_blorp_blit_miptrees()
434 intel_miptree_finish_write(brw, dst_mt, dst_level, dst_layer, 1, in brw_blorp_blit_miptrees()
443 unsigned dst_level, unsigned dst_layer, in brw_blorp_copy_miptrees() argument
456 dst_level, dst_layer, dst_x, dst_y); in brw_blorp_copy_miptrees()
506 intel_miptree_prepare_access(brw, dst_mt, dst_level, 1, dst_layer, 1, in brw_blorp_copy_miptrees()
513 &dst_level, dst_layer, 1); in brw_blorp_copy_miptrees()
[all …]
Dintel_blit.c470 int dst_level, int dst_slice, in intel_miptree_blit() argument
504 intel_miptree_access_raw(brw, dst_mt, dst_level, dst_slice, true); in intel_miptree_blit()
513 dst_y = minify(h0, dst_level - dst_mt->first_level) - dst_y - height; in intel_miptree_blit()
519 intel_miptree_get_image_offset(dst_mt, dst_level, dst_slice, in intel_miptree_blit()
549 int dst_level, int dst_slice, in intel_miptree_copy() argument
564 intel_miptree_access_raw(brw, dst_mt, dst_level, dst_slice, true); in intel_miptree_copy()
599 intel_miptree_get_image_offset(dst_mt, dst_level, dst_slice, in intel_miptree_copy()
Dbrw_blorp.h43 unsigned dst_level, unsigned dst_layer,
57 unsigned dst_level, unsigned dst_logical_layer,
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c256 unsigned dst_level, in blit() argument
270 blit.dst.level = dst_level; in blit()
283 unsigned dst_level, in swizzled_copy() argument
334 blit(pipe, dst, blit_dst_format, dst_level, dstx, dsty, dstz, in swizzled_copy()
402 unsigned dst_level, in handle_complex_copy() argument
432 blit(pipe, dst, noncanon_format, dst_level, dstx, dsty, dstz, src, in handle_complex_copy()
439 blit(pipe, dst, canon_format, dst_level, dstx, dsty, dstz, src, in handle_complex_copy()
456 swizzled_copy(pipe, dst, dst_level, dstx, dsty, dstz, temp, 0, in handle_complex_copy()
465 blit(pipe, dst, noncanon_format, dst_level, dstx, dsty, dstz, src, in handle_complex_copy()
480 blit(pipe, dst, noncanon_format, dst_level, dstx, dsty, dstz, temp, in handle_complex_copy()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dcik_sdma.c56 unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, in si_sdma_v4_copy_texture() argument
79 assert(dst_level <= dst->last_level); in si_sdma_v4_copy_texture()
85 if (!si_prepare_for_dma_blit(sctx, sdst, dst_level, dstx, dsty, dstz, ssrc, src_level, src_box)) in si_sdma_v4_copy_texture()
108 dst_address += sdst->surface.u.gfx9.offset[dst_level]; in si_sdma_v4_copy_texture()
137 unsigned tiled_level = tiled == ssrc ? src_level : dst_level; in si_sdma_v4_copy_texture()
138 unsigned linear_level = linear == ssrc ? src_level : dst_level; in si_sdma_v4_copy_texture()
202 unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, in cik_sdma_copy_texture() argument
210 uint64_t dst_address = sdst->buffer.gpu_address + sdst->surface.u.legacy.level[dst_level].offset; in cik_sdma_copy_texture()
212 unsigned dst_mode = sdst->surface.u.legacy.level[dst_level].mode; in cik_sdma_copy_texture()
214 unsigned dst_tile_index = sdst->surface.u.legacy.tiling_index[dst_level]; in cik_sdma_copy_texture()
[all …]
Dsi_blit.c850 unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, in si_resource_copy_region() argument
869 si_use_compute_copy_for_float_formats(sctx, dst, dst_level); in si_resource_copy_region()
873 !vi_dcc_enabled(sdst, dst_level) && in si_resource_copy_region()
876 si_compute_copy_image(sctx, dst, dst_level, src, src_level, dstx, dsty, dstz, in si_resource_copy_region()
888 dst_width = u_minify(dst->width0, dst_level); in si_resource_copy_region()
889 dst_height = u_minify(dst->height0, dst_level); in si_resource_copy_region()
895 util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstz); in si_resource_copy_region()
981 vi_disable_dcc_if_incompatible_format(sctx, dst, dst_level, dst_templ.format); in si_resource_copy_region()
1006 struct pipe_resource *dst, unsigned dst_level, unsigned dst_z, in si_do_CB_resolve() argument
1014 util_blitter_custom_resolve_color(sctx->blitter, dst, dst_level, dst_z, info->src.resource, in si_do_CB_resolve()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_blit.c47 unsigned dst_level, in build_blit_info() argument
66 blit->dst.level = dst_level; in build_blit_info()
119 unsigned dst_level, unsigned dst_layer_face, in copy_region_vgpu10() argument
131 dstSubResource = dst_layer_face * (dst_tex->last_level + 1) + dst_level; in copy_region_vgpu10()
140 svga_define_texture_level(dtex, dst_layer_face, dst_level); in copy_region_vgpu10()
143 svga_set_texture_rendered_to(dtex, dst_layer_face, dst_level); in copy_region_vgpu10()
152 struct pipe_resource *dst_tex, unsigned dst_level, in copy_region_fallback() argument
160 util_resource_copy_region(&svga->pipe, dst_tex, dst_level, dstx, in copy_region_fallback()
818 unsigned dst_level, in svga_resource_copy_region() argument
847 copy_region_fallback(svga, dst_tex, dst_level, dstx, in svga_resource_copy_region()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_blitter.c294 unsigned dst_level, in fd_blitter_pipe_copy_region() argument
310 dst, dst_level, dstx, dsty, dstz, in fd_blitter_pipe_copy_region()
324 unsigned dst_level, in fd_resource_copy_region() argument
337 info.dst.level = dst_level; in fd_resource_copy_region()
366 dst, dst_level, dstx, dsty, dstz, in fd_resource_copy_region()
372 dst, dst_level, dstx, dsty, dstz, in fd_resource_copy_region()
Dfreedreno_blitter.h42 unsigned dst_level,
/external/mesa3d/src/gallium/drivers/i915/
Di915_surface.c79 struct pipe_resource *dst, unsigned dst_level, in i915_surface_copy_render() argument
107 util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstz); in i915_surface_copy_render()
128 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in i915_surface_copy_render()
205 struct pipe_resource *dst, unsigned dst_level, in i915_surface_copy_blitter() argument
218 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in i915_surface_copy_blitter()
228 dst_offset = i915_texture_offset(dst_tex, dst_level, dstz); in i915_surface_copy_blitter()
/external/mesa3d/src/gallium/drivers/iris/
Diris_blit.c652 unsigned dst_level, in iris_copy_region() argument
705 dst, dst_aux_usage, dst_level, true); in iris_copy_region()
710 iris_resource_prepare_access(ice, dst_res, dst_level, 1, in iris_copy_region()
726 &dst_surf, dst_level, dstz + slice, in iris_copy_region()
733 iris_resource_finish_write(ice, dst_res, dst_level, dstz, in iris_copy_region()
763 unsigned dst_level, in iris_resource_copy_region() argument
794 iris_copy_region(&ice->blorp, batch, p_dst, dst_level, dstx, dsty, dstz, in iris_resource_copy_region()
803 iris_copy_region(&ice->blorp, batch, &s_dst_res->base, dst_level, dstx, in iris_resource_copy_region()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_surface.c41 struct pipe_resource *dst, unsigned dst_level, in lp_resource_copy_ms() argument
86 struct pipe_resource *dst, unsigned dst_level, in lp_resource_copy() argument
92 dst, dst_level, in lp_resource_copy()
107 lp_resource_copy_ms(pipe, dst, dst_level, dstx, dsty, dstz, in lp_resource_copy()
111 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in lp_resource_copy()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_clear_blit.c152 unsigned dst_level, unsigned dstx, unsigned dsty, in etna_resource_copy_region() argument
169 util_blitter_copy_texture(ctx->blitter, dst, dst_level, dstx, dsty, dstz, in etna_resource_copy_region()
172 util_resource_copy_region(pctx, dst, dst_level, dstx, dsty, dstz, src, in etna_resource_copy_region()
/external/mesa3d/src/gallium/auxiliary/util/
Du_blitter.h240 unsigned dst_level,
390 unsigned dst_level,
406 unsigned dst_level,
Du_surface.h79 unsigned dst_level,
/external/mesa3d/src/intel/blorp/
Dblorp.h139 unsigned dst_level, unsigned dst_layer,
153 unsigned dst_level, unsigned dst_layer,
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_blit.h43 int dst_level, int dst_slice,
Dintel_blit.c223 int dst_level, int dst_slice, in intel_miptree_blit() argument
280 dst_y = dst_mt->level[dst_level].height - dst_y - height; in intel_miptree_blit()
293 intel_miptree_get_image_offset(dst_mt, dst_level, dst_slice, in intel_miptree_blit()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_blit.c535 unsigned dst_level, in r300_resource_copy_region() argument
557 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in r300_resource_copy_region()
571 util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstz); in r300_resource_copy_region()
656 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in r300_resource_copy_region()
714 unsigned dst_level, in r300_simple_msaa_resolve() argument
729 surf_tmpl.u.tex.level = dst_level; in r300_simple_msaa_resolve()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_resource.h63 struct pipe_resource *dst, unsigned dst_level,
/external/virglrenderer/src/gallium/auxiliary/util/
Du_surface.h79 unsigned dst_level,
/external/mesa3d/src/compiler/nir/
Dnir_split_vars.c662 unsigned dst_level, nir_deref_instr *dst, in emit_split_copies() argument
668 while ((dst_p = dst_path->path[dst_level + 1])) { in emit_split_copies()
673 dst_level++; in emit_split_copies()
691 if ((dst_info && dst_info->levels[dst_level].split) || in emit_split_copies()
696 assert(glsl_get_length(dst_path->path[dst_level]->type) == in emit_split_copies()
698 unsigned len = glsl_get_length(dst_path->path[dst_level]->type); in emit_split_copies()
700 emit_split_copies(b, dst_info, dst_path, dst_level + 1, in emit_split_copies()
707 emit_split_copies(b, dst_info, dst_path, dst_level + 1, in emit_split_copies()

123