/external/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,
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_rs.c | 467 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 …]
|
D | etnaviv_blt.c | 372 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() 392 … blit_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 …]
|
D | etnaviv_clear_blit.c | 94 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/ |
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 …]
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_surface.c | 117 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/ |
D | freedreno_blitter.h | 48 bool fd_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info);
|
D | freedreno_blitter.c | 262 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()
|
D | freedreno_resource.c | 1415 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/ |
D | nv30_resource.h | 70 const struct pipe_blit_info *blit_info);
|
D | nv30_miptree.c | 214 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/ |
D | v3d_blit.c | 520 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()
|
D | v3d_context.h | 688 void v3d_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info);
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_blit.c | 448 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()
|
D | vc4_context.h | 512 void vc4_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info);
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_surface.c | 250 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/ |
D | rbug_context.c | 896 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/ |
D | swr_context.cpp | 272 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/ |
D | lima_resource.c | 730 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/ |
D | tr_context.c | 1149 trace_dump_arg(blit_info, _info); in trace_context_blit()
|