Home
last modified time | relevance | path

Searched refs:dst_surf (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_blit.c125 struct pipe_surface *dst_surf = in vc4_tile_blit() local
132 struct vc4_job *job = vc4_get_job(vc4, dst_surf, NULL); in vc4_tile_blit()
148 job->draw_width = dst_surf->width; in vc4_tile_blit()
149 job->draw_height = dst_surf->height; in vc4_tile_blit()
159 pipe_surface_reference(&dst_surf, NULL); in vc4_tile_blit()
355 struct pipe_surface *dst_surf = in vc4_yuv_blit() local
357 if (!dst_surf) { in vc4_yuv_blit()
362 dst_surf->width = align(dst_surf->width, 8) / 2; in vc4_yuv_blit()
364 dst_surf->height /= 2; in vc4_yuv_blit()
387 util_blitter_custom_shader(vc4->blitter, dst_surf, in vc4_yuv_blit()
[all …]
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_blit.c154 struct pipe_surface *dst_surf = in v3d_stencil_blit() local
179 util_blitter_blit_generic(v3d->blitter, dst_surf, &info->dst.box, in v3d_stencil_blit()
187 pipe_surface_reference(&dst_surf, NULL); in v3d_stencil_blit()
484 struct pipe_surface *dst_surf = in v3d_tlb_blit() local
491 surfaces[0] = dst_surf; in v3d_tlb_blit()
506 pipe_surface_reference(&dst_surf, NULL); in v3d_tlb_blit()
514 is_color_blit ? NULL : dst_surf, in v3d_tlb_blit()
532 job->draw_width = MIN2(dst_surf->width, src_surf->width); in v3d_tlb_blit()
533 job->draw_height = MIN2(dst_surf->height, src_surf->height); in v3d_tlb_blit()
560 pipe_surface_reference(&dst_surf, NULL); in v3d_tlb_blit()
[all …]
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_blit.c481 struct blorp_surf src_surf, dst_surf; in iris_blit() local
485 iris_blorp_surf_for_resource(&screen->isl_dev, &dst_surf, in iris_blit()
514 &dst_surf, info->dst.level, dst_z, in iris_blit()
670 struct blorp_surf src_surf, dst_surf; in iris_copy_region() local
673 iris_blorp_surf_for_resource(&screen->isl_dev, &dst_surf, in iris_copy_region()
695 &dst_surf, dst_level, dstz + slice, in iris_copy_region()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_blit.c584 struct blorp_surf src_surf, dst_surf; in crocus_blit() local
588 crocus_blorp_surf_for_resource(&screen->vtbl, &screen->isl_dev, &dst_surf, in crocus_blit()
619 &dst_surf, info->dst.level, dst_z, in crocus_blit()
725 struct blorp_surf src_surf, dst_surf; in crocus_copy_region() local
728 crocus_blorp_surf_for_resource(&screen->vtbl, &screen->isl_dev, &dst_surf, in crocus_copy_region()
744 &dst_surf, dst_level, dstz + slice, in crocus_copy_region()
/third_party/mesa3d/src/intel/blorp/
Dblorp.h143 const struct blorp_surf *dst_surf,
157 const struct blorp_surf *dst_surf,
Dblorp_blit.c2441 const struct blorp_surf *dst_surf, in blorp_blit() argument
2456 assert(blorp_blit_supports_compute(batch->blorp, dst_surf->aux_usage)); in blorp_blit()
2461 if (dst_surf->surf->usage & ISL_SURF_USAGE_STENCIL_BIT) in blorp_blit()
2462 assert(dst_surf->surf->format == ISL_FORMAT_R8_UINT); in blorp_blit()
2464 if (dst_surf->surf->usage & ISL_SURF_USAGE_STENCIL_BIT) { in blorp_blit()
2475 brw_blorp_surface_info_init(batch, &params.dst, dst_surf, dst_level, in blorp_blit()
2772 const struct blorp_surf *dst_surf, in blorp_copy() argument
2789 assert(blorp_copy_supports_compute(batch->blorp, dst_surf->aux_usage)); in blorp_copy()
2793 brw_blorp_surface_info_init(batch, &params.dst, dst_surf, dst_level, in blorp_copy()
2802 .need_dst_offset = dst_surf->tile_x_sa || dst_surf->tile_y_sa, in blorp_copy()
/third_party/mesa3d/src/intel/vulkan/
Danv_blorp.c360 struct blorp_surf src_surf, dst_surf; in copy_image() local
370 &dst_surf); in copy_image()
373 dst_surf.aux_usage, dst_level, in copy_image()
378 &dst_surf, dst_level, dst_base_layer + i, in copy_image()
399 struct blorp_surf src_surf, dst_surf; in copy_image() local
407 &dst_surf); in copy_image()
409 dst_surf.aux_usage, dst_level, in copy_image()
414 &dst_surf, dst_level, dst_base_layer + i, in copy_image()
1421 struct blorp_surf src_surf, dst_surf; in anv_image_msaa_resolve() local
1434 dst_aux_usage, &dst_surf); in anv_image_msaa_resolve()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_deint_filter.c487 struct pipe_surface *dst_surf = dst_surfaces[1 - field]; in vl_deint_filter_render() local
515 fb_state.cbufs[0] = dst_surf; in vl_deint_filter_render()
524 if (++j >= util_format_get_nr_components(dst_surf->format)) { in vl_deint_filter_render()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_blorp.c409 struct blorp_surf src_surf, dst_surf; in brw_blorp_blit_miptrees() local
412 blorp_surf_for_miptree(brw, &dst_surf, dst_mt, dst_aux_usage, true, in brw_blorp_blit_miptrees()
426 &dst_surf, dst_level, dst_layer, in brw_blorp_blit_miptrees()
496 struct blorp_surf src_surf, dst_surf; in brw_blorp_copy_miptrees() local
499 blorp_surf_for_miptree(brw, &dst_surf, dst_mt, dst_aux_usage, true, in brw_blorp_copy_miptrees()
517 &dst_surf, dst_level, dst_layer, in brw_blorp_copy_miptrees()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_blit.c833 struct svga_winsys_surface *dst_surf; in svga_resource_copy_region() local
838 dst_surf = svga_buffer_handle(svga, dst_tex, dbuffer->bind_flags); in svga_resource_copy_region()
841 dst_surf, src_box->x, dstx, in svga_resource_copy_region()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_blit.cpp768 struct pipe_surface *dst_surf = pctx->create_surface(pctx, tmp, &dst_tmpl); in resolve_stencil_to_temp() local
769 if (!dst_surf) { in resolve_stencil_to_temp()
785 util_blitter_custom_shader(ctx->blitter, dst_surf, in resolve_stencil_to_temp()
789 pipe_surface_reference(&dst_surf, NULL); in resolve_stencil_to_temp()