Home
last modified time | relevance | path

Searched refs:src_level (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_copy_image.c40 int src_x, int src_y, int src_z, unsigned src_level, in copy_miptrees() argument
55 if (brw_miptree_copy(brw, src_mt, src_level, src_z, src_x, src_y, in copy_miptrees()
62 src_mt, src_level, src_z, in copy_miptrees()
80 unsigned src_level, dst_level; in brw_copy_image_sub_data() local
84 src_level = src_image->Level + src_image->TexObject->Attrib.MinLevel; in brw_copy_image_sub_data()
95 src_level = 0; in brw_copy_image_sub_data()
115 copy_miptrees(brw, src_mt, src_x, src_y, src_z, src_level, in brw_copy_image_sub_data()
129 copy_miptrees(brw, src_mt->stencil_mt, src_x, src_y, src_z, src_level, in brw_copy_image_sub_data()
Dbrw_generate_mipmap.c129 const unsigned src_level = dst_level - 1; in brw_generate_mipmap() local
132 brw_blorp_blit_miptrees(brw, mt, src_level, layer, format, in brw_generate_mipmap()
135 minify(base_size->width, src_level), in brw_generate_mipmap()
136 minify(base_size->height, src_level), in brw_generate_mipmap()
Dbrw_blit.c477 int src_level, int src_slice, in brw_miptree_blit() argument
513 brw_miptree_access_raw(brw, src_mt, src_level, src_slice, false); in brw_miptree_blit()
518 src_y = minify(h0, src_level - src_mt->first_level) - src_y - height; in brw_miptree_blit()
527 brw_miptree_get_image_offset(src_mt, src_level, src_slice, in brw_miptree_blit()
554 int src_level, int src_slice, in brw_miptree_copy() argument
571 brw_miptree_access_raw(brw, src_mt, src_level, src_slice, false); in brw_miptree_copy()
575 brw_miptree_get_image_offset(src_mt, src_level, src_slice, in brw_miptree_copy()
593 minify(src_mt->surf.logical_level0_px.width, src_level)); in brw_miptree_copy()
596 minify(src_mt->surf.logical_level0_px.height, src_level)); in brw_miptree_copy()
Dbrw_blit.h35 int src_level, int src_slice,
45 int src_level, int src_slice,
Dbrw_blorp.h40 unsigned src_level, unsigned src_layer,
55 unsigned src_level, unsigned src_logical_layer,
Dbrw_blorp.c275 unsigned src_level, unsigned src_layer, in brw_blorp_blit_miptrees() argument
293 src_level, src_layer, src_x0, src_y0, src_x1, src_y1, in brw_blorp_blit_miptrees()
398 brw_miptree_prepare_access(brw, src_mt, src_level, 1, src_layer, 1, in brw_blorp_blit_miptrees()
411 &src_level, src_layer, 1); in brw_blorp_blit_miptrees()
424 blorp_blit(&batch, &src_surf, src_level, src_layer, in brw_blorp_blit_miptrees()
440 unsigned src_level, unsigned src_layer, in brw_blorp_copy_miptrees() argument
451 src_level, src_layer, src_x, src_y, src_width, src_height, in brw_blorp_copy_miptrees()
491 brw_miptree_prepare_access(brw, src_mt, src_level, 1, src_layer, 1, in brw_blorp_copy_miptrees()
498 &src_level, src_layer, 1); in brw_blorp_copy_miptrees()
516 blorp_copy(&batch, &src_surf, src_level, src_layer, in brw_blorp_copy_miptrees()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c260 unsigned src_level, in blit() argument
269 blit.src.level = src_level; in blit()
286 unsigned src_level, in swizzled_copy() argument
335 src, blit_src_format, src_level, src_box); in swizzled_copy()
405 unsigned src_level, in handle_complex_copy() argument
433 noncanon_format, src_level, src_box); in handle_complex_copy()
440 noncanon_format, src_level, src_box); in handle_complex_copy()
455 src_level, src_box); in handle_complex_copy()
466 canon_format, src_level, src_box); in handle_complex_copy()
479 swizzled_copy(pipe, temp, 0, 0, 0, 0, src, src_level, src_box); in handle_complex_copy()
[all …]
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_blit.cpp268 unsigned src_level, in copy_subregion_no_barriers() argument
318 …src_loc.SubresourceIndex = get_subresource_id(src->base.target, src_level, src_subres_stride, src_… in copy_subregion_no_barriers()
328 psrc_box->width == (int)u_minify(src->base.width0, src_level) && in copy_subregion_no_barriers()
329 psrc_box->height == (int)u_minify(src->base.height0, src_level) && in copy_subregion_no_barriers()
330 psrc_box->depth == (int)u_minify(src->base.depth0, src_level)) { in copy_subregion_no_barriers()
346 … src_box.right = MIN2(psrc_box->x + psrc_box->width, (int)u_minify(src->base.width0, src_level)); in copy_subregion_no_barriers()
348 …src_box.bottom = MIN2(psrc_box->y + psrc_box->height, (int)u_minify(src->base.height0, src_level)); in copy_subregion_no_barriers()
371 unsigned src_level, in copy_resource_y_flipped_no_barriers() argument
377 util_format_name(src->base.format), src_level, in copy_resource_y_flipped_no_barriers()
398 src, src_level, &src_box, mask); in copy_resource_y_flipped_no_barriers()
[all …]
Dd3d12_blit.h40 unsigned src_level,
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_blit.c52 unsigned src_level, in build_blit_info() argument
64 blit->src.level = src_level; in build_blit_info()
116 unsigned src_level, unsigned src_layer_face, in copy_region_vgpu10() argument
130 srcSubResource = src_layer_face * (src_tex->last_level + 1) + src_level; in copy_region_vgpu10()
154 struct pipe_resource *src_tex, unsigned src_level, in copy_region_fallback() argument
161 dsty, dstz, src_tex, src_level, src_box); in copy_region_fallback()
821 unsigned src_level, in svga_resource_copy_region() argument
848 dsty, dstz, src_tex, src_level, src_box); in svga_resource_copy_region()
854 src_tex, src_level, src_box, &blit); in svga_resource_copy_region()
872 src_tex, src_level, src_box); in svga_resource_copy_region()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_blitter.c320 unsigned src_level, in fd_blitter_pipe_copy_region() argument
338 src, src_level, src_box); in fd_blitter_pipe_copy_region()
352 unsigned src_level, const struct pipe_box *src_box) in fd_resource_copy_region() argument
383 info.src.level = src_level; in fd_resource_copy_region()
396 src_level, src_box)) in fd_resource_copy_region()
402 src_level, src_box); in fd_resource_copy_region()
Dfreedreno_blitter.h45 struct pipe_resource *src, unsigned src_level,
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_blit.c620 unsigned src_level, in iris_copy_region() argument
631 get_copy_region_aux_settings(ice, src_res, src_level, &src_aux_usage, in iris_copy_region()
672 src, src_aux_usage, src_level, false); in iris_copy_region()
676 iris_resource_prepare_access(ice, src_res, src_level, 1, in iris_copy_region()
694 blorp_copy(&blorp_batch, &src_surf, src_level, src_box->z + slice, in iris_copy_region()
721 unsigned src_level, in iris_resource_copy_region() argument
728 p_src, src_level, src_box); in iris_resource_copy_region()
737 dsty, dstz, &s_src_res->base.b, src_level, src_box); in iris_resource_copy_region()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_blit.c680 unsigned src_level, in crocus_copy_region() argument
693 src_res, src_level, src_box)) in crocus_copy_region()
727 src, src_aux_usage, src_level, false); in crocus_copy_region()
731 crocus_resource_prepare_access(ice, src_res, src_level, 1, in crocus_copy_region()
743 blorp_copy(&blorp_batch, &src_surf, src_level, src_box->z + slice, in crocus_copy_region()
783 unsigned src_level, in crocus_resource_copy_region() argument
815 p_src, src_level, src_box); in crocus_resource_copy_region()
819 p_src, src_level, src_box); in crocus_resource_copy_region()
829 dsty, dstz, &s_src_res->base.b, src_level, src_box); in crocus_resource_copy_region()
Dcrocus_blt.c239 unsigned src_level, in crocus_emit_blt() argument
265 crocus_resource_get_image_offset(src, src_level, src_box->z, &src_image_x, in crocus_emit_blt()
395 unsigned src_level, in crocus_copy_region_blt() argument
405 src_level, in crocus_copy_region_blt()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_surface.c78 unsigned src_level, const struct pipe_box *src_box) in i915_surface_copy_render() argument
104 util_blitter_default_src_texture(i915->blitter, &src_templ, src, src_level); in i915_surface_copy_render()
126 src_level, src_box); in i915_surface_copy_render()
199 unsigned src_level, const struct pipe_box *src_box) in i915_surface_copy_blitter() argument
204 src_level, src_box); in i915_surface_copy_blitter()
222 src_offset = i915_texture_offset(src_tex, src_level, src_box->z); in i915_surface_copy_blitter()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_surface.c43 struct pipe_resource *src, unsigned src_level, in lp_resource_copy_ms() argument
88 struct pipe_resource *src, unsigned src_level, in lp_resource_copy() argument
99 src, src_level, in lp_resource_copy()
108 src, src_level, src_box); in lp_resource_copy()
112 src, src_level, src_box); in lp_resource_copy()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DResource.cpp703 unsigned src_level = SrcSubResource % (src_resource->last_level + 1); in ResourceCopyRegion() local
718 src_box.width = u_minify(src_resource->width0, src_level); in ResourceCopyRegion()
719 src_box.height = u_minify(src_resource->height0, src_level); in ResourceCopyRegion()
720 src_box.depth = u_minify(src_resource->depth0, src_level); in ResourceCopyRegion()
727 src_resource, src_level, in ResourceCopyRegion()
733 src_resource, src_level, in ResourceCopyRegion()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_clear_blit.c155 unsigned src_level, const struct pipe_box *src_box) in etna_resource_copy_region() argument
163 src, src_level, src_box); in etna_resource_copy_region()
166 src_level, src_box); in etna_resource_copy_region()
/third_party/mesa3d/src/intel/blorp/
Dblorp.h141 unsigned src_level, float src_layer,
156 unsigned src_level, unsigned src_layer,
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_surface.c207 unsigned src_level, in util_resource_copy_region() argument
282 assert(src_box.x + src_box.width <= (int)u_minify(src->width0, src_level)); in util_resource_copy_region()
283 assert(src_box.y + src_box.height <= (int)u_minify(src->height0, src_level)); in util_resource_copy_region()
294 src_level, in util_resource_copy_region()
325 src_level, in util_resource_copy_region()
Du_surface.h82 unsigned src_level,
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_blit.h40 int src_level, int src_slice,
Dintel_blit.c220 int src_level, int src_slice, in intel_miptree_blit() argument
277 src_y = src_mt->level[src_level].height - src_y - height; in intel_miptree_blit()
287 intel_miptree_get_image_offset(src_mt, src_level, src_slice, in intel_miptree_blit()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_resource.h75 struct pipe_resource *src, unsigned src_level,

1234