Home
last modified time | relevance | path

Searched refs:src_level (Results 1 - 25 of 63) sorted by relevance

123

/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_cb_copyimage.c271 unsigned src_level, in blit()
280 blit.src.level = src_level; in blit()
297 unsigned src_level, in swizzled_copy()
346 src, blit_src_format, src_level, src_box); in swizzled_copy()
416 unsigned src_level, in handle_complex_copy()
444 noncanon_format, src_level, src_box); in handle_complex_copy()
451 noncanon_format, src_level, src_box); in handle_complex_copy()
466 src_level, src_box); in handle_complex_copy()
477 canon_format, src_level, src_box); in handle_complex_copy()
490 swizzled_copy(pipe, temp, 0, 0, 0, 0, src, src_level, src_bo in handle_complex_copy()
264 blit(struct pipe_context *pipe, struct pipe_resource *dst, enum pipe_format dst_format, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, enum pipe_format src_format, unsigned src_level, const struct pipe_box *src_box) blit() argument
292 swizzled_copy(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) swizzled_copy() argument
411 handle_complex_copy(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box, enum pipe_format noncanon_format, enum pipe_format canon_format) handle_complex_copy() argument
501 copy_image(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) copy_image() argument
651 int src_level, dst_level; st_CopyImageSubData() local
[all...]
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_blit.cpp270 unsigned src_level, in copy_subregion_no_barriers()
320 src_loc.SubresourceIndex = get_subresource_id(src->base.b.target, src_level, src_subres_stride, src_z, &src_z, src_array_size, src->plane_slice) + in copy_subregion_no_barriers()
330 psrc_box->width == (int)u_minify(src->base.b.width0, src_level) && in copy_subregion_no_barriers()
331 psrc_box->height == (int)u_minify(src->base.b.height0, src_level) && in copy_subregion_no_barriers()
332 psrc_box->depth == (int)u_minify(src->base.b.depth0, src_level)) { in copy_subregion_no_barriers()
347 src_box.right = MIN2(psrc_box->x + psrc_box->width, (int)u_minify(src->base.b.width0, src_level)); in copy_subregion_no_barriers()
349 src_box.bottom = MIN2(psrc_box->y + psrc_box->height, (int)u_minify(src->base.b.height0, src_level)); in copy_subregion_no_barriers()
371 unsigned src_level, in copy_resource_y_flipped_no_barriers()
377 util_format_name(src->base.b.format), src_level, in copy_resource_y_flipped_no_barriers()
398 src, src_level, in copy_resource_y_flipped_no_barriers()
265 copy_subregion_no_barriers(struct d3d12_context *ctx, struct d3d12_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct d3d12_resource *src, unsigned src_level, const struct pipe_box *psrc_box, unsigned mask) copy_subregion_no_barriers() argument
366 copy_resource_y_flipped_no_barriers(struct d3d12_context *ctx, struct d3d12_resource *dst, unsigned dst_level, const struct pipe_box *pdst_box, struct d3d12_resource *src, unsigned src_level, const struct pipe_box *psrc_box, unsigned mask) copy_resource_y_flipped_no_barriers() argument
403 d3d12_direct_copy(struct d3d12_context *ctx, struct d3d12_resource *dst, unsigned dst_level, const struct pipe_box *pdst_box, struct d3d12_resource *src, unsigned src_level, const struct pipe_box *psrc_box, unsigned mask) d3d12_direct_copy() argument
464 create_staging_resource(struct d3d12_context *ctx, struct d3d12_resource *src, unsigned src_level, const struct pipe_box *src_box, struct pipe_box *dst_box, unsigned mask) create_staging_resource() argument
968 d3d12_resource_copy_region(struct pipe_context *pctx, struct pipe_resource *pdst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *psrc, unsigned src_level, const struct pipe_box *psrc_box) d3d12_resource_copy_region() argument
[all...]
H A Dd3d12_blit.h40 unsigned src_level,
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_test_image_copy_region.c569 unsigned src_level = j % (tsrc.last_level + 1); in si_test_image_copy_region() local
572 max_width = MIN2(u_minify(tsrc.width0, src_level), u_minify(tdst.width0, dst_level)); in si_test_image_copy_region()
573 max_height = MIN2(u_minify(tsrc.height0, src_level), u_minify(tdst.height0, dst_level)); in si_test_image_copy_region()
574 max_depth = MIN2(util_num_layers(&tsrc, src_level), util_num_layers(&tdst, dst_level)); in si_test_image_copy_region()
578 srcz = rand() % (util_num_layers(&tsrc, src_level) - depth + 1); in si_test_image_copy_region()
587 srcx = rand() % (u_minify(tsrc.width0, src_level) - width + 1); in si_test_image_copy_region()
588 srcy = rand() % (u_minify(tsrc.height0, src_level) - height + 1); in si_test_image_copy_region()
605 si_resource_copy_region(ctx, dst, dst_level, dstx, dsty, dstz, src, src_level, &box); in si_test_image_copy_region()
614 width, height, depth, src_cpu[src_level].ptr, src_cpu[src_level] in si_test_image_copy_region()
785 unsigned src_level = rand() % (tsrc.last_level + 1); si_test_blit() local
[all...]
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_blit.c655 unsigned src_level, in iris_copy_region()
670 get_copy_region_aux_settings(ice, batch, src_res, src_level, in iris_copy_region()
714 src, src_aux_usage, src_level, false); in iris_copy_region()
718 iris_resource_prepare_access(ice, src_res, src_level, 1, in iris_copy_region()
733 blorp_copy(&blorp_batch, &src_surf, src_level, src_box->z + slice, in iris_copy_region()
761 unsigned src_level, in iris_resource_copy_region()
768 p_src, src_level, src_box); in iris_resource_copy_region()
777 dsty, dstz, &s_src_res->base.b, src_level, src_box); in iris_resource_copy_region()
649 iris_copy_region(struct blorp_context *blorp, struct iris_batch *batch, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) iris_copy_region() argument
756 iris_resource_copy_region(struct pipe_context *ctx, struct pipe_resource *p_dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *p_src, unsigned src_level, const struct pipe_box *src_box) iris_resource_copy_region() argument
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_blit.c52 unsigned src_level, in build_blit_info()
64 blit->src.level = src_level; in build_blit_info()
116 unsigned src_level, unsigned src_layer_face, in copy_region_vgpu10()
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()
161 dsty, dstz, src_tex, src_level, src_box); in copy_region_fallback()
896 unsigned src_level, in svga_resource_copy_region()
933 dsty, dstz, src_tex, src_level, src_box); in svga_resource_copy_region()
939 src_tex, src_level, src_box, &blit); in svga_resource_copy_region()
957 src_tex, src_level, src_bo in svga_resource_copy_region()
46 build_blit_info(struct pipe_resource *dst_tex, unsigned dst_level, unsigned dst_x, unsigned dst_y, unsigned dst_z, struct pipe_resource *src_tex, unsigned src_level, const struct pipe_box *src_box, struct pipe_blit_info *blit) build_blit_info() argument
114 copy_region_vgpu10(struct svga_context *svga, struct pipe_resource *src_tex, unsigned src_x, unsigned src_y, unsigned src_z, unsigned src_level, unsigned src_layer_face, struct pipe_resource *dst_tex, unsigned dst_x, unsigned dst_y, unsigned dst_z, unsigned dst_level, unsigned dst_layer_face, unsigned width, unsigned height, unsigned depth) copy_region_vgpu10() argument
151 copy_region_fallback(struct svga_context *svga, struct pipe_resource *dst_tex, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src_tex, unsigned src_level, const struct pipe_box *src_box) copy_region_fallback() argument
891 svga_resource_copy_region(struct pipe_context *pipe, struct pipe_resource *dst_tex, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src_tex, unsigned src_level, const struct pipe_box *src_box) svga_resource_copy_region() argument
[all...]
H A Dsvga_surface.h122 unsigned src_level, unsigned src_face,
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_blitter.c320 unsigned src_level,
338 src, src_level, src_box);
352 unsigned src_level, const struct pipe_box *src_box) in fd_resource_copy_region()
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()
349 fd_resource_copy_region(struct pipe_context *pctx, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) fd_resource_copy_region() argument
H A Dfreedreno_blitter.h45 struct pipe_resource *src, unsigned src_level,
/third_party/mesa3d/src/gallium/drivers/i915/
H A Di915_surface.c78 unsigned src_level, const struct pipe_box *src_box) in i915_surface_copy_render()
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()
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()
75 i915_surface_copy_render(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) i915_surface_copy_render() argument
196 i915_surface_copy_blitter(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) i915_surface_copy_blitter() argument
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_blit.c681 unsigned src_level, in crocus_copy_region()
694 src_res, src_level, src_box)) in crocus_copy_region()
730 src, src_aux_usage, src_level, false); in crocus_copy_region()
734 crocus_resource_prepare_access(ice, src_res, src_level, 1, in crocus_copy_region()
746 blorp_copy(&blorp_batch, &src_surf, src_level, src_box->z + slice, in crocus_copy_region()
772 unsigned src_level, in crocus_resource_copy_region()
789 p_src, src_level, src_box); in crocus_resource_copy_region()
793 p_src, src_level, src_box); in crocus_resource_copy_region()
803 dsty, dstz, &s_src_res->base.b, src_level, src_box); in crocus_resource_copy_region()
675 crocus_copy_region(struct blorp_context *blorp, struct crocus_batch *batch, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) crocus_copy_region() argument
767 crocus_resource_copy_region(struct pipe_context *ctx, struct pipe_resource *p_dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *p_src, unsigned src_level, const struct pipe_box *src_box) crocus_resource_copy_region() argument
H A Dcrocus_blt.c239 unsigned src_level, in crocus_emit_blt()
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()
405 src_level, in crocus_copy_region_blt()
233 crocus_emit_blt(struct crocus_batch *batch, struct crocus_resource *src, struct crocus_resource *dst, unsigned dst_level, unsigned dst_x, unsigned dst_y, unsigned dst_z, unsigned src_level, const struct pipe_box *src_box) crocus_emit_blt() argument
390 crocus_copy_region_blt(struct crocus_batch *batch, struct crocus_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct crocus_resource *src, unsigned src_level, const struct pipe_box *src_box) crocus_copy_region_blt() argument
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
H A DResource.cpp746 unsigned src_level = SrcSubResource % (src_resource->last_level + 1); in ResourceCopyRegion() local
761 src_box.width = u_minify(src_resource->width0, src_level); in ResourceCopyRegion()
762 src_box.height = u_minify(src_resource->height0, src_level); in ResourceCopyRegion()
763 src_box.depth = u_minify(src_resource->depth0, src_level); in ResourceCopyRegion()
770 src_resource, src_level, in ResourceCopyRegion()
776 src_resource, src_level, in ResourceCopyRegion()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_clear_blit.c155 unsigned src_level, const struct pipe_box *src_box) in etna_resource_copy_region()
163 src, src_level, src_box); in etna_resource_copy_region()
166 src_level, src_box); in etna_resource_copy_region()
152 etna_resource_copy_region(struct pipe_context *pctx, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) etna_resource_copy_region() argument
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_surface.c43 struct pipe_resource *src, unsigned src_level, in lp_resource_copy_ms()
88 struct pipe_resource *src, unsigned src_level, in lp_resource_copy()
99 src, src_level, in lp_resource_copy()
109 src, src_level, src_box); in lp_resource_copy()
113 src, src_level, src_box); in lp_resource_copy()
40 lp_resource_copy_ms(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) lp_resource_copy_ms() argument
85 lp_resource_copy(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) lp_resource_copy() argument
/third_party/mesa3d/src/intel/blorp/
H A Dblorp.h157 unsigned src_level, float src_layer,
172 unsigned src_level, unsigned src_layer,
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_surface.c207 unsigned src_level, in util_resource_copy_region()
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()
202 util_resource_copy_region(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dst_x, unsigned dst_y, unsigned dst_z, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box_in) util_resource_copy_region() argument
H A Du_surface.h82 unsigned src_level,
H A Du_blitter.h244 unsigned src_level,
400 unsigned src_level,
H A Du_blitter.c1777 unsigned src_level, in util_blitter_copy_texture()
1797 util_blitter_default_src_texture(blitter, &src_templ, src, src_level); in util_blitter_copy_texture()
2286 unsigned src_level; in util_blitter_generate_mipmap() local
2332 for (src_level = base_level; src_level < last_level; src_level++) { in util_blitter_generate_mipmap()
2334 unsigned dst_level = src_level + 1; in util_blitter_generate_mipmap()
2339 srcbox.width = u_minify(tex->width0, src_level); in util_blitter_generate_mipmap()
2340 srcbox.height = u_minify(tex->height0, src_level); in util_blitter_generate_mipmap()
2344 srcbox.depth = util_num_layers(tex, src_level); in util_blitter_generate_mipmap()
1772 util_blitter_copy_texture(struct blitter_context *blitter, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *srcbox) util_blitter_copy_texture() argument
2875 util_blitter_stencil_fallback(struct blitter_context *blitter, struct pipe_resource *dst, unsigned dst_level, const struct pipe_box *dstbox, struct pipe_resource *src, unsigned src_level, const struct pipe_box *srcbox, const struct pipe_scissor_state *scissor) util_blitter_stencil_fallback() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_state.c2857 unsigned src_level, in r600_dma_copy_tile()
2873 src_mode = rsrc->surface.u.legacy.level[src_level].mode; in r600_dma_copy_tile()
2883 slice_tile_max = (rsrc->surface.u.legacy.level[src_level].nblk_x * rsrc->surface.u.legacy.level[src_level].nblk_y) / (8*8); in r600_dma_copy_tile()
2890 height = u_minify(rsrc->resource.b.b.height0, src_level); in r600_dma_copy_tile()
2895 base = (uint64_t)rsrc->surface.u.legacy.level[src_level].offset_256B * 256; in r600_dma_copy_tile()
2915 addr = (uint64_t)rsrc->surface.u.legacy.level[src_level].offset_256B * 256; in r600_dma_copy_tile()
2916 addr += (uint64_t)rsrc->surface.u.legacy.level[src_level].slice_size_dw * 4 * src_z; in r600_dma_copy_tile()
2958 unsigned src_level, in r600_dma_copy()
2983 dstz, rsrc, src_level, src_bo in r600_dma_copy()
2850 r600_dma_copy_tile(struct r600_context *rctx, struct pipe_resource *dst, unsigned dst_level, unsigned dst_x, unsigned dst_y, unsigned dst_z, struct pipe_resource *src, unsigned src_level, unsigned src_x, unsigned src_y, unsigned src_z, unsigned copy_height, unsigned pitch, unsigned bpp) r600_dma_copy_tile() argument
2953 r600_dma_copy(struct pipe_context *ctx, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) r600_dma_copy() argument
[all...]
H A Dr600_blit.c670 unsigned src_level, in r600_resource_copy_region()
695 if (!r600_decompress_subresource(ctx, src, src_level, in r600_resource_copy_region()
704 src_widthFL = u_minify(src->width0, src_level); in r600_resource_copy_region()
705 src_heightFL = u_minify(src->height0, src_level); in r600_resource_copy_region()
708 util_blitter_default_src_texture(rctx->blitter, &src_templ, src, src_level); in r600_resource_copy_region()
738 src_force_level = src_level; in r600_resource_copy_region()
665 r600_resource_copy_region(struct pipe_context *ctx, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) r600_resource_copy_region() argument
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv30_resource.h75 struct pipe_resource *src, unsigned src_level,
/third_party/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_texture.c37 unsigned src_level, in virgl_copy_region_with_blit()
45 blit.src.level = src_level; in virgl_copy_region_with_blit()
32 virgl_copy_region_with_blit(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, const struct pipe_box *dst_box, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) virgl_copy_region_with_blit() argument
/third_party/mesa3d/src/gallium/drivers/r300/
H A Dr300_blit.c547 unsigned src_level, in r300_resource_copy_region()
567 src, src_level, src_box); in r300_resource_copy_region()
581 util_blitter_default_src_texture(r300->blitter, &src_templ, src, src_level); in r300_resource_copy_region()
666 src, src_level, src_box); in r300_resource_copy_region()
542 r300_resource_copy_region(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) r300_resource_copy_region() argument

Completed in 27 milliseconds

123