Lines Matching defs:blit
57 struct pipe_blit_info blit;
59 memset(&blit, 0, sizeof(blit));
60 blit.src.resource = src;
61 blit.src.format = src->format;
62 blit.src.level = src_level;
63 blit.src.box = *src_box;
64 blit.dst.resource = dst;
65 blit.dst.format = dst->format;
66 blit.dst.level = dst_level;
67 blit.dst.box.x = dstx;
68 blit.dst.box.y = dsty;
69 blit.dst.box.z = dstz;
70 blit.dst.box.width = src_box->width;
71 blit.dst.box.height = src_box->height;
72 blit.dst.box.depth = src_box->depth;
73 blit.mask = util_format_get_mask(dst->format);
74 blit.filter = PIPE_TEX_FILTER_NEAREST;
75 blit.dst_sample = dst_sample;
77 if (blit.mask) {
78 /* Only the gfx blit handles dst_sample. */
80 si_gfx_blit(pipe, &blit);
82 pipe->blit(pipe, &blit);
1129 /* Initialize displayable DCC that requires the retile blit. */
1908 * blit from ZS to color and vice versa. u_blitter will do