Beginning of sse2 implementation
authorSøren Sandmann Pedersen <sandmann@redhat.com>
Wed, 13 May 2009 13:12:04 +0000 (09:12 -0400)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Sat, 23 May 2009 16:05:01 +0000 (12:05 -0400)
pixman/pixman-private.h
pixman/pixman-sse2.c

index a8c6ce4..b7b7c5d 100644 (file)
@@ -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 */
index d3524f4..135a5f3 100644 (file)
@@ -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 */