Home
last modified time | relevance | path

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

/external/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,
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_rs.c467 const struct pipe_blit_info *blit_info) in etna_manual_blit() argument
477 tile_size = util_format_get_blocksize(blit_info->src.format) * 4 * 4; in etna_manual_blit()
493 for (int y = 0; y < blit_info->src.box.height; y += 4) { in etna_manual_blit()
494 memcpy(drow, srow, tile_size * blit_info->src.box.width); in etna_manual_blit()
584 const struct pipe_blit_info *blit_info) in etna_try_rs_blit() argument
587 struct etna_resource *src = etna_resource(blit_info->src.resource); in etna_try_rs_blit()
588 struct etna_resource *dst = etna_resource(blit_info->dst.resource); in etna_try_rs_blit()
593 assert(blit_info->src.level <= src->base.last_level); in etna_try_rs_blit()
594 assert(blit_info->dst.level <= dst->base.last_level); in etna_try_rs_blit()
605 if (blit_info->dst.box.width != blit_info->src.box.width || in etna_try_rs_blit()
[all …]
Detnaviv_blt.c372 const struct pipe_blit_info *blit_info) in etna_try_blt_blit() argument
375 struct etna_resource *src = etna_resource(blit_info->src.resource); in etna_try_blt_blit()
376 struct etna_resource *dst = etna_resource(blit_info->dst.resource); in etna_try_blt_blit()
380 assert(blit_info->src.level <= src->base.last_level); in etna_try_blt_blit()
381 assert(blit_info->dst.level <= dst->base.last_level); in etna_try_blt_blit()
391 if (blit_info->dst.box.width != blit_info->src.box.width || in etna_try_blt_blit()
392blit_info->dst.box.height != abs(blit_info->src.box.height)) { /* allow y flip for glTexImage2D */ in etna_try_blt_blit()
394 blit_info->src.box.width, blit_info->src.box.height, in etna_try_blt_blit()
395 blit_info->dst.box.width, blit_info->dst.box.height); in etna_try_blt_blit()
400 unsigned mask = util_format_get_mask(blit_info->dst.format); in etna_try_blt_blit()
[all …]
Detnaviv_clear_blit.c94 etna_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info) in etna_blit() argument
97 struct pipe_blit_info info = *blit_info; in etna_blit()
/external/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 …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_surface.c117 const struct pipe_blit_info *blit_info) in lp_blit() argument
120 struct pipe_blit_info info = *blit_info; in lp_blit()
122 if (blit_info->render_condition_enable && !llvmpipe_check_render_cond(lp)) in lp_blit()
138 if (blit_info->src.format == PIPE_FORMAT_Z32_UNORM && in lp_blit()
139 blit_info->dst.format == PIPE_FORMAT_Z32_UNORM && info.filter == PIPE_TEX_FILTER_NEAREST) { in lp_blit()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_blitter.h48 bool fd_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info);
Dfreedreno_blitter.c262 fd_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info) in fd_blit() argument
265 struct pipe_blit_info info = *blit_info; in fd_blit()
Dfreedreno_resource.c1415 fd_blit_pipe(struct pipe_context *pctx, const struct pipe_blit_info *blit_info) in fd_blit_pipe() argument
1418 fd_blit(pctx, blit_info); in fd_blit_pipe()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_resource.h70 const struct pipe_blit_info *blit_info);
Dnv30_miptree.c214 const struct pipe_blit_info *blit_info) in nv30_blit() argument
217 struct pipe_blit_info info = *blit_info; in nv30_blit()
223 nv30_resource_resolve(nv30, blit_info); in nv30_blit()
/external/mesa3d/src/gallium/drivers/v3d/
Dv3d_blit.c520 v3d_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info) in v3d_blit() argument
523 struct pipe_blit_info info = *blit_info; in v3d_blit()
526 v3d_stencil_blit(pctx, blit_info); in v3d_blit()
530 if (v3d_tfu_blit(pctx, blit_info)) in v3d_blit()
Dv3d_context.h688 void v3d_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info);
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_blit.c448 vc4_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info) in vc4_blit() argument
450 struct pipe_blit_info info = *blit_info; in vc4_blit()
452 if (vc4_yuv_blit(pctx, blit_info)) in vc4_blit()
455 if (vc4_tile_blit(pctx, blit_info)) in vc4_blit()
Dvc4_context.h512 void vc4_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info);
/external/mesa3d/src/gallium/drivers/i915/
Di915_surface.c250 i915_blit(struct pipe_context *pipe, const struct pipe_blit_info *blit_info) in i915_blit() argument
253 struct pipe_blit_info info = *blit_info; in i915_blit()
/external/mesa3d/src/gallium/auxiliary/driver_rbug/
Drbug_context.c896 struct pipe_blit_info blit_info; in rbug_blit() local
898 blit_info = *_blit_info; in rbug_blit()
899 blit_info.dst.resource = dst; in rbug_blit()
900 blit_info.src.resource = src; in rbug_blit()
903 pipe->blit(pipe, &blit_info); in rbug_blit()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_context.cpp272 swr_blit(struct pipe_context *pipe, const struct pipe_blit_info *blit_info) in swr_blit() argument
276 struct pipe_blit_info info = *blit_info; in swr_blit()
/external/mesa3d/src/gallium/drivers/lima/
Dlima_resource.c730 lima_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info) in lima_blit() argument
733 struct pipe_blit_info info = *blit_info; in lima_blit()
/external/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_context.c1149 trace_dump_arg(blit_info, _info); in trace_context_blit()