Lines Matching refs:clip
177 struct copybit_rect_t clip; in set_rects() local
178 intersect(&clip, scissor, dst); in set_rects()
180 if (!validateCopybitRect(&clip)) in set_rects()
183 e->dst_rect.x = clip.l; in set_rects()
184 e->dst_rect.y = clip.t; in set_rects()
185 e->dst_rect.w = clip.r - clip.l; in set_rects()
186 e->dst_rect.h = clip.b - clip.t; in set_rects()
190 delta_x = (clip.t - dst->t); in set_rects()
191 delta_y = (dst->r - clip.r); in set_rects()
192 e->src_rect.w = (clip.b - clip.t); in set_rects()
193 e->src_rect.h = (clip.r - clip.l); in set_rects()
197 delta_x = (clip.l - dst->l); in set_rects()
198 delta_y = (clip.t - dst->t); in set_rects()
199 e->src_rect.w = (clip.r - clip.l); in set_rects()
200 e->src_rect.h = (clip.b - clip.t); in set_rects()
517 struct copybit_rect_t clip; in stretch_copybit() local
519 while ((status == 0) && region->next(region, &clip)) { in stretch_copybit()
520 intersect(&clip, &bounds, &clip); in stretch_copybit()
544 if (set_rects(ctx, req, dst_rect, src_rect, &clip) == false) in stretch_copybit()