Lines Matching refs:clip
166 struct copybit_rect_t clip; in set_rects() local
167 intersect(&clip, scissor, dst); in set_rects()
169 e->dst_rect.x = clip.l; in set_rects()
170 e->dst_rect.y = clip.t; in set_rects()
171 e->dst_rect.w = clip.r - clip.l; in set_rects()
172 e->dst_rect.h = clip.b - clip.t; in set_rects()
176 delta_x = (clip.t - dst->t); in set_rects()
177 delta_y = (dst->r - clip.r); in set_rects()
178 e->src_rect.w = (clip.b - clip.t); in set_rects()
179 e->src_rect.h = (clip.r - clip.l); in set_rects()
183 delta_x = (clip.l - dst->l); in set_rects()
184 delta_y = (clip.t - dst->t); in set_rects()
185 e->src_rect.w = (clip.r - clip.l); in set_rects()
186 e->src_rect.h = (clip.b - clip.t); in set_rects()
495 struct copybit_rect_t clip; in stretch_copybit() local
497 while ((status == 0) && region->next(region, &clip)) { in stretch_copybit()
498 intersect(&clip, &bounds, &clip); in stretch_copybit()
510 set_rects(ctx, req, dst_rect, src_rect, &clip); in stretch_copybit()