From: Søren Sandmann Pedersen Date: Fri, 26 Feb 2010 19:15:22 +0000 (-0500) Subject: Move __force_align_arg_pointer workaround before composite32() X-Git-Tag: 1.0_branch~627 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd9934551f72f4993016cab1d7be3b1e545629b1;p=profile%2Fivi%2Fpixman.git Move __force_align_arg_pointer workaround before composite32() Since otherwise the workaround won't take effect when you call pixman_image_composite32() directly. --- diff --git a/pixman/pixman.c b/pixman/pixman.c index c0a985e..3aa265f 100644 --- a/pixman/pixman.c +++ b/pixman/pixman.c @@ -598,6 +598,24 @@ done: pixman_region32_fini (®ion); } +PIXMAN_EXPORT void +pixman_image_composite (pixman_op_t op, + pixman_image_t * src, + pixman_image_t * mask, + pixman_image_t * dest, + int16_t src_x, + int16_t src_y, + int16_t mask_x, + int16_t mask_y, + int16_t dest_x, + int16_t dest_y, + uint16_t width, + uint16_t height) +{ + pixman_image_composite32 (op, src, mask, dest, src_x, src_y, + mask_x, mask_y, dest_x, dest_y, width, height); +} + /* * Work around GCC bug causing crashes in Mozilla with SSE2 * @@ -618,24 +636,6 @@ done: __attribute__((__force_align_arg_pointer__)) #endif PIXMAN_EXPORT void -pixman_image_composite (pixman_op_t op, - pixman_image_t * src, - pixman_image_t * mask, - pixman_image_t * dest, - int16_t src_x, - int16_t src_y, - int16_t mask_x, - int16_t mask_y, - int16_t dest_x, - int16_t dest_y, - uint16_t width, - uint16_t height) -{ - pixman_image_composite32 (op, src, mask, dest, src_x, src_y, - mask_x, mask_y, dest_x, dest_y, width, height); -} - -PIXMAN_EXPORT void pixman_image_composite32 (pixman_op_t op, pixman_image_t * src, pixman_image_t * mask,