Lines Matching refs:clip
172 struct copybit_rect_t clip; in set_rects() local
173 intersect(&clip, scissor, dst); in set_rects()
175 if (!validateCopybitRect(&clip)) in set_rects()
178 e->dst_rect.x = clip.l; in set_rects()
179 e->dst_rect.y = clip.t; in set_rects()
180 e->dst_rect.w = clip.r - clip.l; in set_rects()
181 e->dst_rect.h = clip.b - clip.t; in set_rects()
185 delta_x = (clip.t - dst->t); in set_rects()
186 delta_y = (dst->r - clip.r); in set_rects()
187 e->src_rect.w = (clip.b - clip.t); in set_rects()
188 e->src_rect.h = (clip.r - clip.l); in set_rects()
192 delta_x = (clip.l - dst->l); in set_rects()
193 delta_y = (clip.t - dst->t); in set_rects()
194 e->src_rect.w = (clip.r - clip.l); in set_rects()
195 e->src_rect.h = (clip.b - clip.t); in set_rects()
510 struct copybit_rect_t clip; in stretch_copybit() local
512 while ((status == 0) && region->next(region, &clip)) { in stretch_copybit()
513 intersect(&clip, &bounds, &clip); in stretch_copybit()
537 if (set_rects(ctx, req, dst_rect, src_rect, &clip) == false) in stretch_copybit()