Lines Matching refs:dst

150  * Clips a coordinate (left, right, top or bottom) for the src or dst rect
156 * \param dst0 the dst rect coordinate (for example dst_x0)
157 * \param dst1 the opposite dst rect coordinate (for example dst_x1)
158 * \param clipped_dst0 number of pixels to clip from the dst coordinate
159 * \param clipped_dst1 number of pixels to clip from the opposite dst coordinate
160 * \param scale the src vs dst scale involved for that coordinate
235 * from the dst rect so we should clip dst_x0 only and adjust src_x0.
236 * This is because clipping 4 pixels in the dst is equivalent to
374 if (!util_format_has_alpha(dinfo.dst.resource->format))
407 info->dst.resource->target != PIPE_TEXTURE_3D)
419 util_blitter_default_dst_texture(&dst_templ, info->dst.resource, info->dst.level, info->dst.box.z);
420 dst_view = ctx->create_surface(ctx, info->dst.resource, &dst_templ);
425 0, 0, info->dst.box.x, info->dst.box.y,
426 info->dst.box.width, info->dst.box.height);
429 info->dst.resource,
430 info->dst.level,
431 &info->dst.box,
448 info->dst.resource->target == PIPE_TEXTURE_3D) {
464 float dst_x0 = info->dst.box.x;
465 float dst_x1 = info->dst.box.x + info->dst.box.width;
466 float dst_y0 = info->dst.box.y;
467 float dst_y1 = info->dst.box.y + info->dst.box.height;
481 if (abs(info->dst.box.width) == abs(info->src.box.width) &&
482 abs(info->dst.box.height) == abs(info->src.box.height)) {
484 info->dst.resource->nr_samples <= 1) {
531 float src_z_step = (float)info->src.box.depth / (float)info->dst.box.depth;
538 depth_center_offset = 0.5 / info->dst.box.depth * info->src.box.depth;
549 crocus_resource_for_aspect(devinfo, info->dst.resource, aspect);
554 pipe_format_for_aspect(info->dst.format, aspect);
582 crocus_resource_render_aux_usage(ice, dst_res, info->dst.level,
591 info->dst.level, true);
593 crocus_resource_prepare_render(ice, dst_res, info->dst.level,
594 info->dst.box.z, info->dst.box.depth,
610 for (int slice = 0; slice < info->dst.box.depth; slice++) {
611 unsigned dst_z = info->dst.box.z + slice;
620 &dst_surf, info->dst.level, dst_z,
630 crocus_resource_finish_render(ice, dst_res, info->dst.level,
631 info->dst.box.z, info->dst.box.depth,
638 info->dst.resource,
677 struct pipe_resource *dst,
689 struct crocus_resource *dst_res = (void *) dst;
706 if (dst->target == PIPE_BUFFER)
709 if (dst->target == PIPE_BUFFER && src->target == PIPE_BUFFER) {
715 .buffer = crocus_resource_bo(dst), .offset = dstx,
732 dst, dst_aux_usage, dst_level, true);
780 struct crocus_resource *dst = (void *) p_dst;
784 if (crocus_resource_unfinished_aux_import(dst))
785 crocus_resource_finish_aux_import(ctx->screen, dst);
806 crocus_flush_and_dirty_for_history(ice, batch, dst,