Lines Matching refs:bounds
680 BoxRec bounds = { in glamor_no_rendering_bounds() local
687 return bounds; in glamor_no_rendering_bounds()
693 BoxRec bounds = { in glamor_start_rendering_bounds() local
700 return bounds; in glamor_start_rendering_bounds()
704 glamor_bounds_union_rect(BoxPtr bounds, xRectangle *rect) in glamor_bounds_union_rect() argument
706 bounds->x1 = min(bounds->x1, rect->x); in glamor_bounds_union_rect()
707 bounds->y1 = min(bounds->y1, rect->y); in glamor_bounds_union_rect()
708 bounds->x2 = min(SHRT_MAX, max(bounds->x2, rect->x + rect->width)); in glamor_bounds_union_rect()
709 bounds->y2 = min(SHRT_MAX, max(bounds->y2, rect->y + rect->height)); in glamor_bounds_union_rect()
713 glamor_bounds_union_box(BoxPtr bounds, BoxPtr box) in glamor_bounds_union_box() argument
715 bounds->x1 = min(bounds->x1, box->x1); in glamor_bounds_union_box()
716 bounds->y1 = min(bounds->y1, box->y1); in glamor_bounds_union_box()
717 bounds->x2 = max(bounds->x2, box->x2); in glamor_bounds_union_box()
718 bounds->y2 = max(bounds->y2, box->y2); in glamor_bounds_union_box()