Home
last modified time | relevance | path

Searched refs:blit_info (Results 1 – 22 of 22) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/util/
Du_compute.c78 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 …]
Du_compute.h38 void util_compute_blit(struct pipe_context *ctx, struct pipe_blit_info *blit_info,
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_rs.c474 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 …]
Detnaviv_blt.c370 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()
390blit_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 …]
Detnaviv_clear_blit.c95 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/
Dsvga_pipe_blit.c313 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/
Dlp_surface.c118 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/
Dlima_blit.h27 const struct pipe_blit_info *blit_info);
Dlima_resource.c839 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/
Dvc4_blit.c433 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()
Dvc4_context.h510 void vc4_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info);
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_blitter.h49 const struct pipe_blit_info *blit_info) assert_dt;
Dfreedreno_blitter.c287 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()
Dfreedreno_resource.c1710 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/
Dnv30_resource.h80 const struct pipe_blit_info *blit_info);
Dnv30_miptree.c219 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/
Drbug_context.c904 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/
Di915_surface.c253 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/
Dv3d_blit.c847 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()
Dv3d_context.h769 void v3d_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info);
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_context.c1382 trace_dump_arg(blit_info, _info); in trace_context_blit()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_cmd_buffer.c3055 VkBlitImageInfo2 blit_info = { in dzn_CmdCopyImage2() local
3089 dzn_CmdBlitImage2(commandBuffer, &blit_info); in dzn_CmdCopyImage2()