Lines Matching refs:clip
162 struct copybit_rect_t clip; in set_rects() local
163 intersect(&clip, scissor, dst); in set_rects()
165 e->dst_rect.x = clip.l; in set_rects()
166 e->dst_rect.y = clip.t; in set_rects()
167 e->dst_rect.w = clip.r - clip.l; in set_rects()
168 e->dst_rect.h = clip.b - clip.t; in set_rects()
172 delta_x = (clip.t - dst->t); in set_rects()
173 delta_y = (dst->r - clip.r); in set_rects()
174 e->src_rect.w = (clip.b - clip.t); in set_rects()
175 e->src_rect.h = (clip.r - clip.l); in set_rects()
179 delta_x = (clip.l - dst->l); in set_rects()
180 delta_y = (clip.t - dst->t); in set_rects()
181 e->src_rect.w = (clip.r - clip.l); in set_rects()
182 e->src_rect.h = (clip.b - clip.t); in set_rects()
454 struct copybit_rect_t clip; in stretch_copybit() local
457 while ((status == 0) && region->next(region, &clip)) { in stretch_copybit()
458 intersect(&clip, &bounds, &clip); in stretch_copybit()
470 set_rects(ctx, req, dst_rect, src_rect, &clip, src->horiz_padding, src->vert_padding); in stretch_copybit()