From: Søren Sandmann Pedersen Date: Wed, 13 May 2009 13:12:04 +0000 (-0400) Subject: Beginning of sse2 implementation X-Git-Tag: 1.0_branch~1124 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f5837da6e24cb1adf116f42724b83948c70476f0;p=profile%2Fivi%2Fpixman.git Beginning of sse2 implementation --- diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h index a8c6ce4..b7b7c5d 100644 --- a/pixman/pixman-private.h +++ b/pixman/pixman-private.h @@ -1005,5 +1005,9 @@ _pixman_implementation_create_fast_path (pixman_implementation_t *toplevel); pixman_implementation_t * _pixman_implementation_create_mmx (pixman_implementation_t *toplevel); #endif - +#ifdef USE_SSE2 +pixman_implementation_t * +_pixman_implementation_create_sse2 (pixman_implementation_t *toplevel); +#endif + #endif /* PIXMAN_PRIVATE_H */ diff --git a/pixman/pixman-sse2.c b/pixman/pixman-sse2.c index d3524f4..135a5f3 100644 --- a/pixman/pixman-sse2.c +++ b/pixman/pixman-sse2.c @@ -4990,4 +4990,13 @@ static const FastPathInfo sse2_fast_path_array[] = const FastPathInfo *const sse2_fast_paths = sse2_fast_path_array; +pixman_implementation_t * +_pixman_implementation_create_sse2 (pixman_implementation_t *toplevel) +{ + pixman_implementation_t *mmx = _pixman_implementation_create_mmx (NULL); + pixman_implementation_t *imp = _pixman_implementation_create (toplevel, mmx); + + return imp; +} + #endif /* USE_SSE2 */