/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_blit.c | 125 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() 139 job->draw_width = dst_surf->width; in vc4_tile_blit() 140 job->draw_height = dst_surf->height; in vc4_tile_blit() 150 pipe_surface_reference(&dst_surf, NULL); in vc4_tile_blit() 346 struct pipe_surface *dst_surf = in vc4_yuv_blit() local 348 if (!dst_surf) { in vc4_yuv_blit() 353 dst_surf->width = align(dst_surf->width, 8) / 2; in vc4_yuv_blit() 355 dst_surf->height /= 2; in vc4_yuv_blit() 378 util_blitter_custom_shader(vc4->blitter, dst_surf, in vc4_yuv_blit() [all …]
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_blit.c | 167 struct pipe_surface *dst_surf = in v3d_stencil_blit() local 192 util_blitter_blit_generic(v3d->blitter, dst_surf, &info->dst.box, in v3d_stencil_blit() 200 pipe_surface_reference(&dst_surf, NULL); in v3d_stencil_blit() 473 struct pipe_surface *dst_surf = in v3d_tlb_blit() local 480 surfaces[0] = dst_surf; in v3d_tlb_blit() 500 pipe_surface_reference(&dst_surf, NULL); in v3d_tlb_blit() 508 is_color_blit ? NULL : dst_surf, in v3d_tlb_blit() 527 job->draw_width = MIN2(dst_surf->width, src_surf->width); in v3d_tlb_blit() 528 job->draw_height = MIN2(dst_surf->height, src_surf->height); in v3d_tlb_blit() 555 pipe_surface_reference(&dst_surf, NULL); in v3d_tlb_blit() [all …]
|
/third_party/mesa3d/src/intel/blorp/ |
D | blorp.h | 159 const struct blorp_surf *dst_surf, 173 const struct blorp_surf *dst_surf, 200 const struct isl_surf *dst_surf, 206 const struct isl_surf *dst_surf, 212 const struct isl_surf *dst_surf,
|
D | blorp_blit.c | 2438 const struct isl_surf *dst_surf, in blorp_blit_supports_compute() argument 2444 if (dst_surf->samples > 1 || src_surf->samples > 1) in blorp_blit_supports_compute() 2477 const struct isl_surf *dst_surf, in blorp_copy_supports_blitter() argument 2486 if (dst_surf->samples > 1 || src_surf->samples > 1) in blorp_copy_supports_blitter() 2496 isl_format_get_layout(dst_surf->format); in blorp_copy_supports_blitter() 2507 dst_surf->tiling != ISL_TILING_LINEAR) in blorp_copy_supports_blitter() 2519 const struct blorp_surf *dst_surf, in blorp_blit() argument 2535 src_surf->surf, dst_surf->surf, in blorp_blit() 2536 dst_surf->aux_usage)); in blorp_blit() 2542 if (dst_surf->surf->usage & ISL_SURF_USAGE_STENCIL_BIT) in blorp_blit() [all …]
|
D | blorp_genX_exec.h | 2437 const struct isl_surf *dst_surf = ¶ms->dst.surf; in blorp_xy_block_copy_blt() 2444 dst_surf->tiling == ISL_TILING_LINEAR); in blorp_xy_block_copy_blt() 2448 assert(dst_surf->samples == 1); in blorp_xy_block_copy_blt() 2450 unsigned dst_pitch_unit = dst_surf->tiling == ISL_TILING_LINEAR ? 1 : 4; in blorp_xy_block_copy_blt() 2455 struct isl_extent3d dst_align = isl_get_image_alignment(dst_surf); in blorp_xy_block_copy_blt() 2461 blt.DestinationPitch = (dst_surf->row_pitch_B / dst_pitch_unit) - 1; in blorp_xy_block_copy_blt() 2463 blt.DestinationTiling = xy_bcb_tiling(dst_surf); in blorp_xy_block_copy_blt() 2473 blt.DestinationSurfaceType = xy_bcb_surf_dim(dst_surf); in blorp_xy_block_copy_blt() 2474 blt.DestinationSurfaceWidth = dst_surf->logical_level0_px.w - 1; in blorp_xy_block_copy_blt() 2475 blt.DestinationSurfaceHeight = dst_surf->logical_level0_px.h - 1; in blorp_xy_block_copy_blt() [all …]
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_blit.c | 256 struct pipe_surface *dst_surf = in lima_do_blit() local 258 struct lima_surface *lima_dst_surf = lima_surface(dst_surf); in lima_do_blit() 266 job = lima_job_get_with_fb(ctx, NULL, dst_surf); in lima_do_blit() 268 job = lima_job_get_with_fb(ctx, dst_surf, NULL); in lima_do_blit() 271 struct lima_resource *dst_res = lima_resource(dst_surf->texture); in lima_do_blit() 315 pipe_surface_reference(&dst_surf, NULL); in lima_do_blit()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_blit.c | 511 struct blorp_surf src_surf, dst_surf; in iris_blit() local 515 iris_blorp_surf_for_resource(&screen->isl_dev, &dst_surf, in iris_blit() 544 &dst_surf, info->dst.level, dst_z, in iris_blit() 712 struct blorp_surf src_surf, dst_surf; in iris_copy_region() local 715 iris_blorp_surf_for_resource(&screen->isl_dev, &dst_surf, in iris_copy_region() 734 &dst_surf, dst_level, dstz + slice, in iris_copy_region()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_blit.c | 585 struct blorp_surf src_surf, dst_surf; in crocus_blit() local 589 crocus_blorp_surf_for_resource(&screen->vtbl, &screen->isl_dev, &dst_surf, in crocus_blit() 620 &dst_surf, info->dst.level, dst_z, in crocus_blit() 728 struct blorp_surf src_surf, dst_surf; in crocus_copy_region() local 731 crocus_blorp_surf_for_resource(&screen->vtbl, &screen->isl_dev, &dst_surf, in crocus_copy_region() 747 &dst_surf, dst_level, dstz + slice, in crocus_copy_region()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_blorp.c | 344 struct blorp_surf src_surf, dst_surf; in copy_image() local 354 &dst_surf); in copy_image() 357 dst_surf.aux_usage, dst_level, in copy_image() 362 &dst_surf, dst_level, dst_base_layer + i, in copy_image() 383 struct blorp_surf src_surf, dst_surf; in copy_image() local 391 &dst_surf); in copy_image() 393 dst_surf.aux_usage, dst_level, in copy_image() 398 &dst_surf, dst_level, dst_base_layer + i, in copy_image() 1386 struct blorp_surf src_surf, dst_surf; in anv_image_msaa_resolve() local 1399 dst_aux_usage, &dst_surf); in anv_image_msaa_resolve() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_deint_filter.c | 487 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/gallium/drivers/svga/ |
D | svga_pipe_blit.c | 914 struct svga_winsys_surface *dst_surf; in svga_resource_copy_region() local 919 dst_surf = svga_buffer_handle(svga, dst_tex, dbuffer->bind_flags); in svga_resource_copy_region() 922 dst_surf, src_box->x, dstx, in svga_resource_copy_region()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_blit.cpp | 770 struct pipe_surface *dst_surf = pctx->create_surface(pctx, tmp, &dst_tmpl); in resolve_stencil_to_temp() local 771 if (!dst_surf) { in resolve_stencil_to_temp() 787 util_blitter_custom_shader(ctx->blitter, dst_surf, in resolve_stencil_to_temp() 791 pipe_surface_reference(&dst_surf, NULL); in resolve_stencil_to_temp()
|