From: Søren Sandmann Pedersen Date: Fri, 7 Aug 2009 16:00:07 +0000 (-0400) Subject: Delete commented out code in pixman-vmx.c X-Git-Tag: 1.0_branch~798^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51f597ad3258dd85b4620ac2bf0df8ca2e0ed182;p=profile%2Fivi%2Fpixman.git Delete commented out code in pixman-vmx.c --- diff --git a/pixman/pixman-vmx.c b/pixman/pixman-vmx.c index b52803d..06325a7 100644 --- a/pixman/pixman-vmx.c +++ b/pixman/pixman-vmx.c @@ -1607,82 +1607,6 @@ vmx_combine_add_ca (pixman_implementation_t *imp, } } -#if 0 -void -vmx_composite_over_n_8888 (pixman_operator_t op, - pixman_image_t * src_image, - pixman_image_t * mask_image, - pixman_image_t * dst_image, - 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) -{ - uint32_t src; - uint32_t *dst_line, *dst; - int dst_stride; - - _pixman_image_get_solid (src_image, dst_image, src); - - if (src >> 24 == 0) - return; - - PIXMAN_IMAGE_GET_LINE (dst_image, dest_x, dest_y, uint32_t, dst_stride, dst_line, 1); - while (height--) - { - dst = dst_line; - dst_line += dst_stride; - /* XXX vmx_combine_over_u (dst, src, width); */ - } -} - -void -vmx_composite_over_n_0565 (pixman_operator_t op, - pixman_image_t * src_image, - pixman_image_t * mask_image, - pixman_image_t * dst_image, - 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) -{ - uint32_t src; - uint16_t *dst_line, *dst; - uint16_t w; - int dst_stride; - - _pixman_image_get_solid (src_image, dst_image, src); - - if (src >> 24 == 0) - return; - - PIXMAN_IMAGE_GET_LINE (dst_image, dest_x, dest_y, uint16_t, dst_stride, dst_line, 1); - - while (height--) - { - dst = dst_line; - dst_line += dst_stride; - vmx_combine_over_u565 (dst, src, width); - } -} - -static const pixman_fast_path_t vmx_fast_path_array[] = -{ - { PIXMAN_OP_NONE }, -}; - -const pixman_fast_path_t *const vmx_fast_paths = vmx_fast_path_array; - -#endif - pixman_implementation_t * _pixman_implementation_create_vmx (void) {