/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_compute.c | 78 void util_compute_blit(struct pipe_context *ctx, struct pipe_blit_info *blit_info, in util_compute_blit() argument 81 if (blit_info->src.box.width == 0 || blit_info->src.box.height == 0 || in util_compute_blit() 82 blit_info->dst.box.width == 0 || blit_info->dst.box.height == 0) in util_compute_blit() 85 struct pipe_resource *src = blit_info->src.resource; in util_compute_blit() 86 struct pipe_resource *dst = blit_info->dst.resource; in util_compute_blit() 89 unsigned width = blit_info->dst.box.width; in util_compute_blit() 90 unsigned height = blit_info->dst.box.height; in util_compute_blit() 91 float x_scale = blit_info->src.box.width / (float)blit_info->dst.box.width; in util_compute_blit() 92 float y_scale = blit_info->src.box.height / (float)blit_info->dst.box.height; in util_compute_blit() 93 float z_scale = blit_info->src.box.depth / (float)blit_info->dst.box.depth; in util_compute_blit() [all …]
|
D | u_compute.h | 38 void util_compute_blit(struct pipe_context *ctx, struct pipe_blit_info *blit_info,
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_rs.c | 474 const struct pipe_blit_info *blit_info) in etna_manual_blit() argument 484 tile_size = util_format_get_blocksize(blit_info->src.format) * 4 * 4; in etna_manual_blit() 500 for (int y = 0; y < blit_info->src.box.height; y += 4) { in etna_manual_blit() 501 memcpy(drow, srow, tile_size * blit_info->src.box.width); in etna_manual_blit() 591 const struct pipe_blit_info *blit_info) in etna_try_rs_blit() argument 594 struct etna_resource *src = etna_resource(blit_info->src.resource); in etna_try_rs_blit() 595 struct etna_resource *dst = etna_resource(blit_info->dst.resource); in etna_try_rs_blit() 600 assert(blit_info->src.level <= src->base.last_level); in etna_try_rs_blit() 601 assert(blit_info->dst.level <= dst->base.last_level); in etna_try_rs_blit() 612 if (blit_info->dst.box.width != blit_info->src.box.width || in etna_try_rs_blit() [all …]
|
D | etnaviv_blt.c | 370 const struct pipe_blit_info *blit_info) in etna_try_blt_blit() argument 373 struct etna_resource *src = etna_resource(blit_info->src.resource); in etna_try_blt_blit() 374 struct etna_resource *dst = etna_resource(blit_info->dst.resource); in etna_try_blt_blit() 378 assert(blit_info->src.level <= src->base.last_level); in etna_try_blt_blit() 379 assert(blit_info->dst.level <= dst->base.last_level); in etna_try_blt_blit() 389 if (blit_info->dst.box.width != blit_info->src.box.width || in etna_try_blt_blit() 390 … blit_info->dst.box.height != abs(blit_info->src.box.height)) { /* allow y flip for glTexImage2D */ in etna_try_blt_blit() 392 blit_info->src.box.width, blit_info->src.box.height, in etna_try_blt_blit() 393 blit_info->dst.box.width, blit_info->dst.box.height); in etna_try_blt_blit() 398 unsigned mask = util_format_get_mask(blit_info->dst.format); in etna_try_blt_blit() [all …]
|
D | etnaviv_clear_blit.c | 95 etna_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info) in etna_blit() argument 98 struct pipe_blit_info info = *blit_info; in etna_blit()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_blit.c | 313 const struct pipe_blit_info *blit_info) in can_blit_via_svga_copy_region() argument 315 struct pipe_blit_info local_blit = *blit_info; in can_blit_via_svga_copy_region() 331 if (util_format_is_depth_and_stencil(blit_info->src.format) && in can_blit_via_svga_copy_region() 332 blit_info->mask != (PIPE_MASK_ZS)) in can_blit_via_svga_copy_region() 335 return check_blending_and_srgb_cond(svga, blit_info); in can_blit_via_svga_copy_region() 343 const struct pipe_blit_info *blit_info) in can_blit_via_intra_surface_copy() argument 352 if (blit_info->src.resource->nr_samples > 1) in can_blit_via_intra_surface_copy() 358 if (svga->render_condition && blit_info->render_condition_enable) in can_blit_via_intra_surface_copy() 361 if (blit_info->src.level != blit_info->dst.level) in can_blit_via_intra_surface_copy() 364 if (has_layer_face_index_in_z(blit_info->src.resource->target)){ in can_blit_via_intra_surface_copy() [all …]
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_surface.c | 118 const struct pipe_blit_info *blit_info) in lp_blit() argument 121 struct pipe_blit_info info = *blit_info; in lp_blit() 123 if (blit_info->render_condition_enable && !llvmpipe_check_render_cond(lp)) in lp_blit() 130 if (blit_info->src.resource->format == blit_info->src.format && in lp_blit() 131 blit_info->dst.resource->format == blit_info->dst.format && in lp_blit() 132 blit_info->src.format == blit_info->dst.format && in lp_blit() 133 blit_info->src.resource->nr_samples > 1 && in lp_blit() 134 blit_info->dst.resource->nr_samples < 2 && in lp_blit() 135 blit_info->sample0_only) { in lp_blit() 136 …esource_copy_region(pipe, blit_info->dst.resource, blit_info->dst.level, blit_info->dst.box.x, bli… in lp_blit() [all …]
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_blit.h | 27 const struct pipe_blit_info *blit_info);
|
D | lima_resource.c | 839 lima_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info) in lima_blit() argument 842 struct pipe_blit_info info = *blit_info; in lima_blit() 844 if (lima_do_blit(pctx, blit_info)) { in lima_blit()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_blit.c | 433 vc4_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info) in vc4_blit() argument 435 struct pipe_blit_info info = *blit_info; in vc4_blit() 437 if (vc4_yuv_blit(pctx, blit_info)) in vc4_blit() 440 if (vc4_tile_blit(pctx, blit_info)) in vc4_blit()
|
D | vc4_context.h | 510 void vc4_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info);
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_blitter.h | 49 const struct pipe_blit_info *blit_info) assert_dt;
|
D | freedreno_blitter.c | 287 fd_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info) in fd_blit() argument 290 struct pipe_blit_info info = *blit_info; in fd_blit()
|
D | freedreno_resource.c | 1710 const struct pipe_blit_info *blit_info) in_dt in fd_blit_pipe() argument 1713 fd_blit(pctx, blit_info); in fd_blit_pipe()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_resource.h | 80 const struct pipe_blit_info *blit_info);
|
D | nv30_miptree.c | 219 const struct pipe_blit_info *blit_info) in nv30_blit() argument 222 struct pipe_blit_info info = *blit_info; in nv30_blit() 228 nv30_resource_resolve(nv30, blit_info); in nv30_blit()
|
/third_party/mesa3d/src/gallium/auxiliary/driver_rbug/ |
D | rbug_context.c | 904 struct pipe_blit_info blit_info; in rbug_blit() local 906 blit_info = *_blit_info; in rbug_blit() 907 blit_info.dst.resource = dst; in rbug_blit() 908 blit_info.src.resource = src; in rbug_blit() 911 pipe->blit(pipe, &blit_info); in rbug_blit()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_surface.c | 253 i915_blit(struct pipe_context *pipe, const struct pipe_blit_info *blit_info) in i915_blit() argument 256 struct pipe_blit_info info = *blit_info; in i915_blit()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_blit.c | 847 v3d_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info) in v3d_blit() argument 850 struct pipe_blit_info info = *blit_info; in v3d_blit()
|
D | v3d_context.h | 769 void v3d_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info);
|
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
D | tr_context.c | 1382 trace_dump_arg(blit_info, _info); in trace_context_blit()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_cmd_buffer.c | 3055 VkBlitImageInfo2 blit_info = { in dzn_CmdCopyImage2() local 3089 dzn_CmdBlitImage2(commandBuffer, &blit_info); in dzn_CmdCopyImage2()
|