From: Søren Sandmann Pedersen Date: Wed, 3 Jun 2009 02:02:52 +0000 (-0400) Subject: Make _pixman_walk_composite_region() a wrapper around an internal function X-Git-Tag: 1.0_branch~1072 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f885caad4a709d7d2c4f0bf63d735080bcca3c24;p=profile%2Fivi%2Fpixman.git Make _pixman_walk_composite_region() a wrapper around an internal function --- diff --git a/pixman/pixman-utils.c b/pixman/pixman-utils.c index 8139947..5f218eb 100644 --- a/pixman/pixman-utils.c +++ b/pixman/pixman-utils.c @@ -527,23 +527,23 @@ pixman_format_supported_source (pixman_format_code_t format) } } -void -_pixman_walk_composite_region (pixman_implementation_t *imp, - pixman_op_t op, - pixman_image_t * pSrc, - pixman_image_t * pMask, - pixman_image_t * pDst, - int16_t xSrc, - int16_t ySrc, - int16_t xMask, - int16_t yMask, - int16_t xDst, - int16_t yDst, - uint16_t width, - uint16_t height, - pixman_bool_t srcRepeat, - pixman_bool_t maskRepeat, - pixman_composite_func_t compositeRect) +static void +walk_region_internal (pixman_implementation_t *imp, + pixman_op_t op, + pixman_image_t * pSrc, + pixman_image_t * pMask, + pixman_image_t * pDst, + int16_t xSrc, + int16_t ySrc, + int16_t xMask, + int16_t yMask, + int16_t xDst, + int16_t yDst, + uint16_t width, + uint16_t height, + pixman_bool_t srcRepeat, + pixman_bool_t maskRepeat, + pixman_composite_func_t compositeRect) { int n; const pixman_box32_t *pbox; @@ -621,6 +621,33 @@ _pixman_walk_composite_region (pixman_implementation_t *imp, pixman_region32_fini (®); } +void +_pixman_walk_composite_region (pixman_implementation_t *imp, + pixman_op_t op, + pixman_image_t * pSrc, + pixman_image_t * pMask, + pixman_image_t * pDst, + int16_t xSrc, + int16_t ySrc, + int16_t xMask, + int16_t yMask, + int16_t xDst, + int16_t yDst, + uint16_t width, + uint16_t height, + pixman_bool_t srcRepeat, + pixman_bool_t maskRepeat, + pixman_composite_func_t compositeRect) +{ + walk_region_internal (imp, op, + pSrc, pMask, pDst, + xSrc, ySrc, xMask, yMask, xDst, yDst, + width, height, + srcRepeat, maskRepeat, + compositeRect); +} + + static pixman_bool_t mask_is_solid (pixman_image_t *mask) { @@ -650,8 +677,8 @@ get_fast_path (const FastPathInfo *fast_paths, for (info = fast_paths; info->op != PIXMAN_OP_NONE; info++) { - pixman_bool_t valid_src = FALSE; - pixman_bool_t valid_mask = FALSE; + pixman_bool_t valid_src = FALSE; + pixman_bool_t valid_mask = FALSE; if (info->op != op) continue;