Lines Matching refs:x2
48 r1->x2 = min(r1->x2, r2->x2); in drm_rect_intersect()
102 src->x1 = src->x2 - new_src_w; in drm_rect_clip_scaled()
113 diff = dst->x2 - clip->x2; in drm_rect_clip_scaled()
118 src->x2 = src->x1 + new_src_w; in drm_rect_clip_scaled()
119 dst->x2 -= diff; in drm_rect_clip_scaled()
263 r->x1 = width - tmp.x2; in drm_rect_rotate()
264 r->x2 = width - tmp.x1; in drm_rect_rotate()
279 r->x2 = tmp.y2; in drm_rect_rotate()
280 r->y1 = width - tmp.x2; in drm_rect_rotate()
285 r->x1 = width - tmp.x2; in drm_rect_rotate()
286 r->x2 = width - tmp.x1; in drm_rect_rotate()
293 r->x2 = height - tmp.y1; in drm_rect_rotate()
295 r->y2 = tmp.x2; in drm_rect_rotate()
339 r->x2 = width - tmp.y1; in drm_rect_rotate_inv()
341 r->y2 = tmp.x2; in drm_rect_rotate_inv()
345 r->x1 = width - tmp.x2; in drm_rect_rotate_inv()
346 r->x2 = width - tmp.x1; in drm_rect_rotate_inv()
353 r->x2 = tmp.y2; in drm_rect_rotate_inv()
354 r->y1 = height - tmp.x2; in drm_rect_rotate_inv()
365 r->x1 = width - tmp.x2; in drm_rect_rotate_inv()
366 r->x2 = width - tmp.x1; in drm_rect_rotate_inv()