Lines Matching refs:dst

40 default_dst_texture(struct pipe_surface *dst_templ, struct pipe_resource *dst,
122 struct pipe_resource *dst = info->dst.resource;
133 pctx->invalidate_resource(pctx, info->dst.resource);
136 * we need to validate that we can use the src/dst resource with the
144 ctx->validate_format(ctx, fd_resource(dst), info->dst.format);
148 if (src == dst)
156 default_dst_texture(&dst_templ, dst, info->dst.level, info->dst.box.z);
157 dst_templ.format = info->dst.format;
158 dst_view = pipe->create_surface(pipe, dst, &dst_templ);
167 ctx->blitter, dst_view, &info->dst.box, src_view, &info->src.box,
180 fd_bc_flush_writer(ctx, fd_resource(info->dst.resource));
306 util_format_short_name(info.dst.resource->format));
317 fd_blitter_pipe_copy_region(struct fd_context *ctx, struct pipe_resource *dst,
324 if (dst->target == PIPE_BUFFER || src->target == PIPE_BUFFER)
327 if (!util_blitter_is_copy_supported(ctx->blitter, dst, src))
330 if (src == dst) {
335 /* TODO we could invalidate if dst box covers dst level fully. */
337 util_blitter_copy_texture(ctx->blitter, dst, dst_level, dstx, dsty, dstz,
349 fd_resource_copy_region(struct pipe_context *pctx, struct pipe_resource *dst,
356 /* The blitter path handles compressed formats only if src and dst format
359 if ((src->format != dst->format) &&
361 util_format_is_compressed(dst->format))) {
363 PRSC_ARGS(src), PRSC_ARGS(dst));
371 info.dst.resource = dst;
372 info.dst.level = dst_level;
373 info.dst.box.x = dstx;
374 info.dst.box.y = dsty;
375 info.dst.box.z = dstz;
376 info.dst.box.width = src_box->width;
377 info.dst.box.height = src_box->height;
378 assert(info.dst.box.width >= 0);
379 assert(info.dst.box.height >= 0);
380 info.dst.box.depth = 1;
381 info.dst.format = dst->format;
395 if (fd_blitter_pipe_copy_region(ctx, dst, dst_level, dstx, dsty, dstz, src,
401 util_resource_copy_region(pctx, dst, dst_level, dstx, dsty, dstz, src,