Lines Matching refs:clip
169 struct copybit_rect_t clip; in set_rects() local
170 intersect(&clip, scissor, dst); in set_rects()
172 e->dst_rect.x = clip.l; in set_rects()
173 e->dst_rect.y = clip.t; in set_rects()
174 e->dst_rect.w = clip.r - clip.l; in set_rects()
175 e->dst_rect.h = clip.b - clip.t; in set_rects()
179 delta_x = (clip.t - dst->t); in set_rects()
180 delta_y = (dst->r - clip.r); in set_rects()
181 e->src_rect.w = (clip.b - clip.t); in set_rects()
182 e->src_rect.h = (clip.r - clip.l); in set_rects()
186 delta_x = (clip.l - dst->l); in set_rects()
187 delta_y = (clip.t - dst->t); in set_rects()
188 e->src_rect.w = (clip.r - clip.l); in set_rects()
189 e->src_rect.h = (clip.b - clip.t); in set_rects()
500 struct copybit_rect_t clip; in stretch_copybit() local
502 while ((status == 0) && region->next(region, &clip)) { in stretch_copybit()
503 intersect(&clip, &bounds, &clip); in stretch_copybit()
523 set_rects(ctx, req, dst_rect, src_rect, &clip); in stretch_copybit()