Lines Matching refs:rect
64 #define WIDTH(rect) ((rect).right - (rect).left) argument
65 #define HEIGHT(rect) ((rect).bottom - (rect).top) argument
202 blit_rect_t *rect; in svgout_hregion() local
203 (void)get_top_rect(hregion, b, &rect); in svgout_hregion()
205 if (!svgout_intersects_display(rect, dispw, disph)) in svgout_hregion()
207 svgout_rect(rect, colors[b % 7], NULL); in svgout_hregion()
493 static void rgz_out_clrdst(rgz_out_params_t *params, blit_rect_t *rect) in rgz_out_clrdst() argument
517 if (rect) { in rgz_out_clrdst()
518 clear_rect.left = rect->left; in rgz_out_clrdst()
519 clear_rect.top = rect->top; in rgz_out_clrdst()
520 clear_rect.right = rect->right; in rgz_out_clrdst()
521 clear_rect.bottom = rect->bottom; in rgz_out_clrdst()
716 subregion.top = hregion->rect.top; in rgz_gen_blitregions()
717 subregion.bottom = hregion->rect.bottom; in rgz_gen_blitregions()
949 hregions[i].rect.top = yentries[i]; in rgz_in_hwc()
950 hregions[i].rect.bottom = yentries[i+1]; in rgz_in_hwc()
952 hregions[i].rect.left = 0; in rgz_in_hwc()
953 hregions[i].rect.right = dispw > screen_width ? screen_width : dispw; in rgz_in_hwc()
957 if (rgz_hwc_intersects(&hregions[i].rect, &layer->displayFrame)) { in rgz_in_hwc()
969 hregions[i].rect.top, hregions[i].rect.bottom); in rgz_in_hwc()
1352 blit_rect_t *rect = &hregion->blitrects[lix][sidx]; in rgz_hwc_subregion_blit() local
1365 e = rgz_hwc_subregion_blend(params, rect, hregion->rgz_layers[lix], in rgz_hwc_subregion_blit()
1371 e = rgz_hwc_subregion_copy(params, rect, hregion->rgz_layers[lix]); in rgz_hwc_subregion_blit()
1380 e = rgz_hwc_subregion_blend(params, rect, hregion->rgz_layers[lix], NULL); in rgz_hwc_subregion_blit()
1401 blit_rect_t *rect = &hregion->blitrects[lix][sidx]; in rgz_hwc_subregion_blit() local
1403 lix = get_top_rect(hregion, sidx, &rect); in rgz_hwc_subregion_blit()
1404 rgz_hwc_subregion_copy(params, rect, hregion->rgz_layers[lix]); in rgz_hwc_subregion_blit()