pixman: Branch 'master' - 12 commits

Søren Sandmann Pedersen sandmann at kemper.freedesktop.org
Fri Jun 19 10:27:30 PDT 2009


 pixman/combine.inc               |  142 ++++++++++++------------
 pixman/pixman-access.c           |  224 +++++++++++++++++++--------------------
 pixman/pixman-bits-image.c       |   10 -
 pixman/pixman-conical-gradient.c |    2 
 pixman/pixman-fast-path.c        |   29 +----
 pixman/pixman-gradient-walker.c  |    6 -
 pixman/pixman-linear-gradient.c  |    2 
 pixman/pixman-mmx.c              |   44 +++----
 pixman/pixman-private.h          |   87 +++++----------
 pixman/pixman-radial-gradient.c  |    2 
 pixman/pixman-region.c           |   18 ---
 pixman/pixman-region16.c         |   26 +++-
 pixman/pixman-sse2.c             |   44 +++----
 pixman/pixman-timer.c            |    6 -
 pixman/pixman-trap.c             |   96 ----------------
 pixman/pixman-vmx.c              |   82 +++++++-------
 16 files changed, 345 insertions(+), 475 deletions(-)

New commits:
commit d4dc812380f937908e466bfab52bfcc3b5334ebe
Author: Søren Sandmann Pedersen <sandmann at redhat.com>
Date:   Fri Jun 19 13:19:02 2009 -0400

    Get rid of pixman_region_internal_set_static_pointers()
    
    Instead just define the function in pixman-region16.c

diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h
index 9d91889..a23ed9c 100644
--- a/pixman/pixman-private.h
+++ b/pixman/pixman-private.h
@@ -768,9 +768,6 @@ pixman_bool_t pixman_region32_copy_from_region16 (pixman_region32_t *dst,
 						  pixman_region16_t *src);
 pixman_bool_t pixman_region16_copy_from_region32 (pixman_region16_t *dst,
 						  pixman_region32_t *src);
-void pixman_region_internal_set_static_pointers (pixman_box16_t *empty_box,
-						 pixman_region16_data_t *empty_data,
-						 pixman_region16_data_t *broken_data);
 
 #ifdef PIXMAN_TIMERS
 
diff --git a/pixman/pixman-region.c b/pixman/pixman-region.c
index dec2c9d..d448266 100644
--- a/pixman/pixman-region.c
+++ b/pixman/pixman-region.c
@@ -87,24 +87,6 @@ static box_type_t *pixman_region_emptyBox = (box_type_t *)&PREFIX(_emptyBox_);
 static region_data_type_t *pixman_region_emptyData = (region_data_type_t *)&PREFIX(_emptyData_);
 static region_data_type_t *pixman_brokendata = (region_data_type_t *)&PREFIX(_brokendata_);
 
-/* This function exists only to make it possible to preserve the X ABI - it should
- * go away at first opportunity.
- *
- * The problem is that the X ABI exports the three structs and has used
- * them through macros. So the X server calls this function with
- * the addresses of those structs which makes the existing code continue to
- * work.
- */
-void
-PREFIX(_internal_set_static_pointers) (box_type_t *empty_box,
-				       region_data_type_t *empty_data,
-				       region_data_type_t *broken_data)
-{
-    pixman_region_emptyBox = empty_box;
-    pixman_region_emptyData = empty_data;
-    pixman_brokendata = broken_data;
-}
-
 static pixman_bool_t
 pixman_break (region_type_t *pReg);
 
diff --git a/pixman/pixman-region16.c b/pixman/pixman-region16.c
index acee094..2925b19 100644
--- a/pixman/pixman-region16.c
+++ b/pixman/pixman-region16.c
@@ -42,14 +42,6 @@ typedef struct {
 
 #define PREFIX(x) pixman_region##x
 
-PIXMAN_EXPORT void
-pixman_region_set_static_pointers (pixman_box16_t *empty_box,
-				   pixman_region16_data_t *empty_data,
-				   pixman_region16_data_t *broken_data)
-{
-    pixman_region_internal_set_static_pointers (empty_box, empty_data, broken_data);
-}
-
 pixman_bool_t
 pixman_region16_copy_from_region32 (pixman_region16_t *dst,
 				    pixman_region32_t *src)
@@ -81,3 +73,21 @@ pixman_region16_copy_from_region32 (pixman_region16_t *dst,
 }
 
 #include "pixman-region.c"
+
+/* This function exists only to make it possible to preserve the X ABI - it should
+ * go away at first opportunity.
+ *
+ * The problem is that the X ABI exports the three structs and has used
+ * them through macros. So the X server calls this function with
+ * the addresses of those structs which makes the existing code continue to
+ * work.
+ */
+PIXMAN_EXPORT void
+pixman_region_set_static_pointers (pixman_box16_t *empty_box,
+				   pixman_region16_data_t *empty_data,
+				   pixman_region16_data_t *broken_data)
+{
+    pixman_region_emptyBox = empty_box;
+    pixman_region_emptyData = empty_data;
+    pixman_brokendata = broken_data;
+}
commit 8b344e417e06f80a24bff9b6fadf4d82b54ab911
Author: Søren Sandmann Pedersen <sandmann at redhat.com>
Date:   Thu Jun 4 07:31:39 2009 -0400

    Rename PixmanTimer to pixman_timer_t

diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h
index 775def7..9d91889 100644
--- a/pixman/pixman-private.h
+++ b/pixman/pixman-private.h
@@ -784,23 +784,23 @@ oil_profile_stamp_rdtsc (void)
 }
 #define OIL_STAMP oil_profile_stamp_rdtsc
 
-typedef struct PixmanTimer PixmanTimer;
+typedef struct pixman_timer_t pixman_timer_t;
 
-struct PixmanTimer
+struct pixman_timer_t
 {
     int initialized;
     const char *name;
     uint64_t n_times;
     uint64_t total;
-    PixmanTimer *next;
+    pixman_timer_t *next;
 };
 
 extern int timer_defined;
-void pixman_timer_register (PixmanTimer *timer);
+void pixman_timer_register (pixman_timer_t *timer);
 
 #define TIMER_BEGIN(tname)						\
     {									\
-	static PixmanTimer	timer##tname;				\
+	static pixman_timer_t	timer##tname;				\
 	uint64_t		begin##tname;				\
 									\
 	if (!timer##tname.initialized)					\
diff --git a/pixman/pixman-timer.c b/pixman/pixman-timer.c
index 7742527..c995bbf 100644
--- a/pixman/pixman-timer.c
+++ b/pixman/pixman-timer.c
@@ -29,12 +29,12 @@
 
 #ifdef PIXMAN_TIMERS
 
-static PixmanTimer *timers;
+static pixman_timer_t *timers;
 
 static void
 dump_timers (void)
 {
-    PixmanTimer *timer;
+    pixman_timer_t *timer;
 
     for (timer = timers; timer != NULL; timer = timer->next)
     {
@@ -47,7 +47,7 @@ dump_timers (void)
 }
 
 void
-pixman_timer_register (PixmanTimer *timer)
+pixman_timer_register (pixman_timer_t *timer)
 {
     static int initialized;
 
commit 2f9787a9cf3fe0783d1b46a01534ba6588b53e3f
Author: Søren Sandmann Pedersen <sandmann at redhat.com>
Date:   Thu Jun 4 07:29:14 2009 -0400

    Rename GradientWalker to pixman_gradient_walker_t

diff --git a/pixman/pixman-conical-gradient.c b/pixman/pixman-conical-gradient.c
index 023256a..ba01509 100644
--- a/pixman/pixman-conical-gradient.c
+++ b/pixman/pixman-conical-gradient.c
@@ -36,7 +36,7 @@ conical_gradient_get_scanline_32 (pixman_image_t *image, int x, int y, int width
     gradient_t *gradient = (gradient_t *)source;
     conical_gradient_t *conical = (conical_gradient_t *)image;
     uint32_t       *end = buffer + width;
-    GradientWalker  walker;
+    pixman_gradient_walker_t  walker;
     pixman_bool_t affine = TRUE;
     double cx = 1.;
     double cy = 0.;
diff --git a/pixman/pixman-gradient-walker.c b/pixman/pixman-gradient-walker.c
index 6a47a8e..bb554dc 100644
--- a/pixman/pixman-gradient-walker.c
+++ b/pixman/pixman-gradient-walker.c
@@ -27,7 +27,7 @@
 #include "pixman-private.h"
 
 void
-_pixman_gradient_walker_init (GradientWalker  *walker,
+_pixman_gradient_walker_init (pixman_gradient_walker_t  *walker,
 			      gradient_t      *gradient,
 			      unsigned int     spread)
 {
@@ -46,7 +46,7 @@ _pixman_gradient_walker_init (GradientWalker  *walker,
 }
 
 void
-_pixman_gradient_walker_reset (GradientWalker       *walker,
+_pixman_gradient_walker_reset (pixman_gradient_walker_t       *walker,
 			       pixman_fixed_32_32_t  pos)
 {
     int32_t                  x, left_x, right_x;
@@ -200,7 +200,7 @@ _pixman_gradient_walker_reset (GradientWalker       *walker,
 
 /* the following assumes that PIXMAN_GRADIENT_WALKER_NEED_RESET(w,x) is FALSE */
 uint32_t
-_pixman_gradient_walker_pixel (GradientWalker  *walker,
+_pixman_gradient_walker_pixel (pixman_gradient_walker_t  *walker,
 			       pixman_fixed_32_32_t     x)
 {
     int  dist, idist;
diff --git a/pixman/pixman-linear-gradient.c b/pixman/pixman-linear-gradient.c
index ea29750..947c66b 100644
--- a/pixman/pixman-linear-gradient.c
+++ b/pixman/pixman-linear-gradient.c
@@ -98,7 +98,7 @@ linear_gradient_get_scanline_32 (pixman_image_t *image, int x, int y, int width,
     source_image_t *source = (source_image_t *)image;
     linear_gradient_t *linear = (linear_gradient_t *)image;
     uint32_t       *end = buffer + width;
-    GradientWalker  walker;
+    pixman_gradient_walker_t  walker;
     
     _pixman_gradient_walker_init (&walker, gradient, source->common.repeat);
     
diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h
index 1fcf6ff..775def7 100644
--- a/pixman/pixman-private.h
+++ b/pixman/pixman-private.h
@@ -414,19 +414,19 @@ typedef struct
     unsigned int             spread;
 
     int		  need_reset;
-} GradientWalker;
+} pixman_gradient_walker_t;
 
 void
-_pixman_gradient_walker_init (GradientWalker  *walker,
+_pixman_gradient_walker_init (pixman_gradient_walker_t  *walker,
 			      gradient_t      *gradient,
 			      unsigned int     spread);
 
 void
-_pixman_gradient_walker_reset (GradientWalker       *walker,
+_pixman_gradient_walker_reset (pixman_gradient_walker_t       *walker,
 			       pixman_fixed_32_32_t  pos);
 
 uint32_t
-_pixman_gradient_walker_pixel (GradientWalker       *walker,
+_pixman_gradient_walker_pixel (pixman_gradient_walker_t       *walker,
 			       pixman_fixed_32_32_t  x);
 
 
diff --git a/pixman/pixman-radial-gradient.c b/pixman/pixman-radial-gradient.c
index 4a45430..cb81173 100644
--- a/pixman/pixman-radial-gradient.c
+++ b/pixman/pixman-radial-gradient.c
@@ -154,7 +154,7 @@ radial_gradient_get_scanline_32 (pixman_image_t *image, int x, int y, int width,
     source_image_t *source = (source_image_t *)image;
     radial_gradient_t *radial = (radial_gradient_t *)image;
     uint32_t       *end = buffer + width;
-    GradientWalker  walker;
+    pixman_gradient_walker_t  walker;
     pixman_bool_t affine = TRUE;
     double cx = 1.;
     double cy = 0.;
commit cacfd7fe33e7e7643199de0dffb8312c0c432ccf
Author: Søren Sandmann Pedersen <sandmann at redhat.com>
Date:   Fri Jun 19 13:14:11 2009 -0400

    Delete unused IS_SOURCE_IMAGE() macro

diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h
index 60b146a..1fcf6ff 100644
--- a/pixman/pixman-private.h
+++ b/pixman/pixman-private.h
@@ -200,8 +200,6 @@ typedef enum
     SOLID
 } image_type_t;
 
-#define IS_SOURCE_IMAGE(img)     (((image_common_t *)img)->type > BITS)
-
 typedef enum
 {
     SOURCE_IMAGE_CLASS_UNKNOWN,
commit 216f46eb7e3f468f2b64421bdfbcb6e58eafc7e8
Author: Søren Sandmann Pedersen <sandmann at redhat.com>
Date:   Thu Jun 4 07:17:36 2009 -0400

    Remove commented-out fbAddTriangles

diff --git a/pixman/pixman-trap.c b/pixman/pixman-trap.c
index 7c0e96e..7e44e4f 100644
--- a/pixman/pixman-trap.c
+++ b/pixman/pixman-trap.c
@@ -186,97 +186,3 @@ pixman_rasterize_trapezoid (pixman_image_t *    image,
 	pixman_rasterize_edges (image, &l, &r, t, b);
     }
 }
-
-#if 0
-static int
-_GreaterY (pixman_point_fixed_t *a, pixman_point_fixed_t *b)
-{
-    if (a->y == b->y)
-	return a->x > b->x;
-    return a->y > b->y;
-}
-
-/*
- * Note that the definition of this function is a bit odd because
- * of the X coordinate space (y increasing downwards).
- */
-static int
-_Clockwise (pixman_point_fixed_t *ref, pixman_point_fixed_t *a, pixman_point_fixed_t *b)
-{
-    pixman_point_fixed_t	ad, bd;
-
-    ad.x = a->x - ref->x;
-    ad.y = a->y - ref->y;
-    bd.x = b->x - ref->x;
-    bd.y = b->y - ref->y;
-
-    return ((pixman_fixed_32_32_t) bd.y * ad.x - (pixman_fixed_32_32_t) ad.y * bd.x) < 0;
-}
-
-/* FIXME -- this could be made more efficient */
-void
-fbAddTriangles (pixman_image_t *  pPicture,
-		int16_t	    x_off,
-		int16_t	    y_off,
-		int	    ntri,
-		xTriangle *tris)
-{
-    pixman_point_fixed_t	  *top, *left, *right, *tmp;
-    xTrapezoid	    trap;
-
-    for (; ntri; ntri--, tris++)
-    {
-	top = &tris->p1;
-	left = &tris->p2;
-	right = &tris->p3;
-	if (_GreaterY (top, left)) {
-	    tmp = left; left = top; top = tmp;
-	}
-	if (_GreaterY (top, right)) {
-	    tmp = right; right = top; top = tmp;
-	}
-	if (_Clockwise (top, right, left)) {
-	    tmp = right; right = left; left = tmp;
-	}
-	
-	/*
-	 * Two cases:
-	 *
-	 *		+		+
-	 *	       / \             / \
-	 *	      /   \           /   \
-	 *	     /     +         +     \
-	 *      /    --           --    \
-	 *     /   --               --   \
-	 *    / ---                   --- \
-	 *	 +--                         --+
-	 */
-	
-	trap.top = top->y;
-	trap.left.p1 = *top;
-	trap.left.p2 = *left;
-	trap.right.p1 = *top;
-	trap.right.p2 = *right;
-	if (right->y < left->y)
-	    trap.bottom = right->y;
-	else
-	    trap.bottom = left->y;
-	fbRasterizeTrapezoid (pPicture, &trap, x_off, y_off);
-	if (right->y < left->y)
-	{
-	    trap.top = right->y;
-	    trap.bottom = left->y;
-	    trap.right.p1 = *right;
-	    trap.right.p2 = *left;
-	}
-	else
-	{
-	    trap.top = left->y;
-	    trap.bottom = right->y;
-	    trap.left.p1 = *left;
-	    trap.left.p2 = *right;
-	}
-	fbRasterizeTrapezoid (pPicture, &trap, x_off, y_off);
-    }
-}
-#endif
commit 43f3825660914aae7786537ad069758a057488ce
Author: Søren Sandmann Pedersen <sandmann at redhat.com>
Date:   Fri Jun 19 13:04:26 2009 -0400

    Remove useless FbBits typedef

diff --git a/pixman/pixman-trap.c b/pixman/pixman-trap.c
index 28dacaf..7c0e96e 100644
--- a/pixman/pixman-trap.c
+++ b/pixman/pixman-trap.c
@@ -27,8 +27,6 @@
 #include <stdio.h>
 #include "pixman-private.h"
 
-typedef uint32_t FbBits;
-
 PIXMAN_EXPORT void
 pixman_add_traps (pixman_image_t *	image,
 		  int16_t	x_off,
commit 8821885207f74bf9a18b374a1ee5de2442f603a3
Author: Søren Sandmann Pedersen <sandmann at redhat.com>
Date:   Thu Jun 4 06:52:32 2009 -0400

    Delete unused CombineFunc{32,64} types

diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h
index a0e4f45..60b146a 100644
--- a/pixman/pixman-private.h
+++ b/pixman/pixman-private.h
@@ -152,7 +152,6 @@ typedef struct point point_t;
 /* FIXME - the types and structures below should be give proper names
  */
 
-typedef void (*CombineFunc32) (uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width);
 typedef void (*fetchProc32)(bits_image_t *pict, int x, int y, int width,
                                      uint32_t *buffer);
 typedef uint32_t (*fetchPixelProc32)(bits_image_t *pict, int offset, int line);
@@ -160,7 +159,6 @@ typedef void (*storeProc32)(pixman_image_t *, uint32_t *bits,
                                      const uint32_t *values, int x, int width,
                                      const pixman_indexed_t *);
 
-typedef void (*CombineFunc64) (uint64_t *dest, const uint64_t *src, const uint64_t *mask, int width);
 typedef void (*fetchProc64)(bits_image_t *pict, int x, int y, int width,
                                      uint64_t *buffer);
 typedef uint64_t (*fetchPixelProc64)(bits_image_t *pict, int offset, int line);
commit e063bd5555ed874a351bada2ef2a7082c42cb426
Author: Søren Sandmann Pedersen <sandmann at redhat.com>
Date:   Fri Jun 19 12:57:56 2009 -0400

    Rename bits_image.fetch_pixels_{32,64} to fetch_pixels_raw_{32,64}
    
    Also add a couple of comments about what these functions do.

diff --git a/pixman/pixman-bits-image.c b/pixman/pixman-bits-image.c
index bf321a6..d535b85 100644
--- a/pixman/pixman-bits-image.c
+++ b/pixman/pixman-bits-image.c
@@ -111,7 +111,7 @@ _pixman_image_store_scanline_64 (bits_image_t *image, int x, int y, int width,
 static void
 bits_image_fetch_raw_pixels (bits_image_t *image, uint32_t *buffer, int n_pixels)
 {
-    image->fetch_pixels_32 (image, buffer, n_pixels);
+    image->fetch_pixels_raw_32 (image, buffer, n_pixels);
 }
 
 static void
@@ -610,7 +610,7 @@ bits_image_fetch_solid_32 (bits_image_t * image,
     color[0] = 0;
     color[1] = 0;
     
-    image->fetch_pixels_32 (image, color, 1);
+    image->fetch_pixels_raw_32 (image, color, 1);
     
     end = buffer + width;
     while (buffer < end)
@@ -629,7 +629,7 @@ bits_image_fetch_solid_64 (bits_image_t * image,
     coords[0] = 0;
     coords[1] = 1;
     
-    image->fetch_pixels_64 (image, (uint64_t *)color, 1);
+    image->fetch_pixels_raw_64 (image, (uint64_t *)color, 1);
     
     end = buffer + width;
     while (buffer < end)
@@ -771,8 +771,8 @@ bits_image_property_changed (pixman_image_t *image)
     bits->fetch_scanline_raw_64 =
 	READ_ACCESS(pixman_fetchProcForPicture64)(bits);
     
-    bits->fetch_pixels_32 = READ_ACCESS(pixman_fetchPixelProcForPicture32)(bits);
-    bits->fetch_pixels_64 = READ_ACCESS(pixman_fetchPixelProcForPicture64)(bits);
+    bits->fetch_pixels_raw_32 = READ_ACCESS(pixman_fetchPixelProcForPicture32)(bits);
+    bits->fetch_pixels_raw_64 = READ_ACCESS(pixman_fetchPixelProcForPicture64)(bits);
 
     bits->store_scanline_64 = bits_image_store_scanline_64;
     bits->store_scanline_32 = bits_image_store_scanline_32;
diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h
index e891692..a0e4f45 100644
--- a/pixman/pixman-private.h
+++ b/pixman/pixman-private.h
@@ -362,17 +362,30 @@ struct bits_image
     uint32_t *			free_me;
     int				rowstride; /* in number of uint32_t's */
 
-    fetch_pixels_32_t		fetch_pixels_32;
-    fetch_pixels_64_t		fetch_pixels_64;
+    /* Fetch raw pixels, with no regard for transformations, alpha map etc. */
+    fetch_pixels_32_t		fetch_pixels_raw_32;
+    fetch_pixels_64_t		fetch_pixels_raw_64;
 
-    scanStoreProc		store_scanline_32;
-    scanStoreProc		store_scanline_64;
+    /* Fetch raw scanlines, with no regard for transformations, alpha maps etc. */
+    fetchProc32			fetch_scanline_raw_32;
+    fetchProc64			fetch_scanline_raw_64;
 
+    /* Store scanlines with no regard for alpha maps */
     storeProc32			store_scanline_raw_32;
     storeProc64			store_scanline_raw_64;
 
-    fetchProc32			fetch_scanline_raw_32;
-    fetchProc64			fetch_scanline_raw_64;
+    /* Store a scanline, taking alpha maps into account */
+    scanStoreProc		store_scanline_32;
+    scanStoreProc		store_scanline_64;
+
+    /* Used for indirect access to the bits */
+    pixman_read_memory_func_t	read_func;
+    pixman_write_memory_func_t	write_func;
+    
+    void *			orig_data;	/* Stores pointer to original
+						 * data, when the image is
+						 * being accessed.
+						 */
 };
 
 union pixman_image
commit ce2944747455265d24bbbd6ab4b843bf974c8126
Author: Søren Sandmann Pedersen <sandmann at redhat.com>
Date:   Fri Jun 19 12:28:59 2009 -0400

    Delete empty FASTCALL macro

diff --git a/pixman/combine.inc b/pixman/combine.inc
index 0d55694..2f4d6a7 100644
--- a/pixman/combine.inc
+++ b/pixman/combine.inc
@@ -42,14 +42,14 @@ combineMask (const comp4_t *src, const comp4_t *mask, int i)
     return s;
 }
 
-FASTCALL static void
+static void
 fbCombineClear (pixman_implementation_t *imp, pixman_op_t op,
 		comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     memset(dest, 0, width*sizeof(comp4_t));
 }
 
-FASTCALL static void
+static void
 fbCombineSrcU (pixman_implementation_t *imp, pixman_op_t op,
 	       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -69,7 +69,7 @@ fbCombineSrcU (pixman_implementation_t *imp, pixman_op_t op,
 }
 
 /* if the Src is opaque, call fbCombineSrcU */
-FASTCALL static void
+static void
 fbCombineOverU (pixman_implementation_t *imp, pixman_op_t op,
 		comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -85,7 +85,7 @@ fbCombineOverU (pixman_implementation_t *imp, pixman_op_t op,
 }
 
 /* if the Dst is opaque, this is a noop */
-FASTCALL static void
+static void
 fbCombineOverReverseU (pixman_implementation_t *imp, pixman_op_t op,
 		       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -100,7 +100,7 @@ fbCombineOverReverseU (pixman_implementation_t *imp, pixman_op_t op,
 }
 
 /* if the Dst is opaque, call fbCombineSrcU */
-FASTCALL static void
+static void
 fbCombineInU (pixman_implementation_t *imp, pixman_op_t op,
 	      comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -114,7 +114,7 @@ fbCombineInU (pixman_implementation_t *imp, pixman_op_t op,
 }
 
 /* if the Src is opaque, this is a noop */
-FASTCALL static void
+static void
 fbCombineInReverseU (pixman_implementation_t *imp, pixman_op_t op,
 		     comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -129,7 +129,7 @@ fbCombineInReverseU (pixman_implementation_t *imp, pixman_op_t op,
 }
 
 /* if the Dst is opaque, call fbCombineClear */
-FASTCALL static void
+static void
 fbCombineOutU (pixman_implementation_t *imp, pixman_op_t op,
 	       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -143,7 +143,7 @@ fbCombineOutU (pixman_implementation_t *imp, pixman_op_t op,
 }
 
 /* if the Src is opaque, call fbCombineClear */
-FASTCALL static void
+static void
 fbCombineOutReverseU (pixman_implementation_t *imp, pixman_op_t op,
 		      comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -160,7 +160,7 @@ fbCombineOutReverseU (pixman_implementation_t *imp, pixman_op_t op,
 /* if the Src is opaque, call fbCombineInU */
 /* if the Dst is opaque, call fbCombineOverU */
 /* if both the Src and Dst are opaque, call fbCombineSrcU */
-FASTCALL static void
+static void
 fbCombineAtopU (pixman_implementation_t *imp, pixman_op_t op,
 		comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -179,7 +179,7 @@ fbCombineAtopU (pixman_implementation_t *imp, pixman_op_t op,
 /* if the Src is opaque, call fbCombineOverReverseU */
 /* if the Dst is opaque, call fbCombineInReverseU */
 /* if both the Src and Dst are opaque, call fbCombineDstU */
-FASTCALL static void
+static void
 fbCombineAtopReverseU (pixman_implementation_t *imp, pixman_op_t op,
 		       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -198,7 +198,7 @@ fbCombineAtopReverseU (pixman_implementation_t *imp, pixman_op_t op,
 /* if the Src is opaque, call fbCombineOverU */
 /* if the Dst is opaque, call fbCombineOverReverseU */
 /* if both the Src and Dst are opaque, call fbCombineClear */
-FASTCALL static void
+static void
 fbCombineXorU (pixman_implementation_t *imp, pixman_op_t op,
 	       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -214,7 +214,7 @@ fbCombineXorU (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-FASTCALL static void
+static void
 fbCombineAddU (pixman_implementation_t *imp, pixman_op_t op,
 	       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -230,7 +230,7 @@ fbCombineAddU (pixman_implementation_t *imp, pixman_op_t op,
 /* if the Src is opaque, call fbCombineAddU */
 /* if the Dst is opaque, call fbCombineAddU */
 /* if both the Src and Dst are opaque, call fbCombineAddU */
-FASTCALL static void
+static void
 fbCombineSaturateU (pixman_implementation_t *imp, pixman_op_t op,
 		    comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -293,7 +293,7 @@ fbCombineSaturateU (pixman_implementation_t *imp, pixman_op_t op,
 #define CombineXor	(CombineAOut|CombineBOut)
 
 /* portion covered by a but not b */
-FASTCALL static comp1_t
+static comp1_t
 fbCombineDisjointOutPart (comp1_t a, comp1_t b)
 {
     /* min (1, (1-b) / a) */
@@ -305,7 +305,7 @@ fbCombineDisjointOutPart (comp1_t a, comp1_t b)
 }
 
 /* portion covered by both a and b */
-FASTCALL static comp1_t
+static comp1_t
 fbCombineDisjointInPart (comp1_t a, comp1_t b)
 {
     /* max (1-(1-b)/a,0) */
@@ -319,7 +319,7 @@ fbCombineDisjointInPart (comp1_t a, comp1_t b)
 }
 
 /* portion covered by a but not b */
-FASTCALL static comp1_t
+static comp1_t
 fbCombineConjointOutPart (comp1_t a, comp1_t b)
 {
     /* max (1-b/a,0) */
@@ -333,7 +333,7 @@ fbCombineConjointOutPart (comp1_t a, comp1_t b)
 }
 
 /* portion covered by both a and b */
-FASTCALL static comp1_t
+static comp1_t
 fbCombineConjointInPart (comp1_t a, comp1_t b)
 {
     /* min (1,b/a) */
@@ -343,7 +343,7 @@ fbCombineConjointInPart (comp1_t a, comp1_t b)
     return IntDiv(b,a);     /* b/a */
 }
 
-FASTCALL static void
+static void
 fbCombineDisjointGeneralU (comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width, comp1_t combine)
 {
     int i;
@@ -393,7 +393,7 @@ fbCombineDisjointGeneralU (comp4_t *dest, const comp4_t *src, const comp4_t *mas
     }
 }
 
-FASTCALL static void
+static void
 fbCombineDisjointOverU (pixman_implementation_t *imp, pixman_op_t op,
 			comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -416,56 +416,56 @@ fbCombineDisjointOverU (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-FASTCALL static void
+static void
 fbCombineDisjointInU (pixman_implementation_t *imp, pixman_op_t op,
 		      comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineDisjointGeneralU (dest, src, mask, width, CombineAIn);
 }
 
-FASTCALL static void
+static void
 fbCombineDisjointInReverseU (pixman_implementation_t *imp, pixman_op_t op,
 			     comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineDisjointGeneralU (dest, src, mask, width, CombineBIn);
 }
 
-FASTCALL static void
+static void
 fbCombineDisjointOutU (pixman_implementation_t *imp, pixman_op_t op,
 		       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineDisjointGeneralU (dest, src, mask, width, CombineAOut);
 }
 
-FASTCALL static void
+static void
 fbCombineDisjointOutReverseU (pixman_implementation_t *imp, pixman_op_t op,
 			      comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineDisjointGeneralU (dest, src, mask, width, CombineBOut);
 }
 
-FASTCALL static void
+static void
 fbCombineDisjointAtopU (pixman_implementation_t *imp, pixman_op_t op,
 			comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineDisjointGeneralU (dest, src, mask, width, CombineAAtop);
 }
 
-FASTCALL static void
+static void
 fbCombineDisjointAtopReverseU (pixman_implementation_t *imp, pixman_op_t op,
 			       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineDisjointGeneralU (dest, src, mask, width, CombineBAtop);
 }
 
-FASTCALL static void
+static void
 fbCombineDisjointXorU (pixman_implementation_t *imp, pixman_op_t op,
 		       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineDisjointGeneralU (dest, src, mask, width, CombineXor);
 }
 
-FASTCALL static void
+static void
 fbCombineConjointGeneralU (comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width, comp1_t combine)
 {
     int i;
@@ -515,7 +515,7 @@ fbCombineConjointGeneralU (comp4_t *dest, const comp4_t *src, const comp4_t *mas
     }
 }
 
-FASTCALL static void
+static void
 fbCombineConjointOverU (pixman_implementation_t *imp, pixman_op_t op,
 			comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -523,7 +523,7 @@ fbCombineConjointOverU (pixman_implementation_t *imp, pixman_op_t op,
 }
 
 
-FASTCALL static void
+static void
 fbCombineConjointOverReverseU (pixman_implementation_t *imp, pixman_op_t op,
 			       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -531,7 +531,7 @@ fbCombineConjointOverReverseU (pixman_implementation_t *imp, pixman_op_t op,
 }
 
 
-FASTCALL static void
+static void
 fbCombineConjointInU (pixman_implementation_t *imp, pixman_op_t op,
 		      comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -539,42 +539,42 @@ fbCombineConjointInU (pixman_implementation_t *imp, pixman_op_t op,
 }
 
 
-FASTCALL static void
+static void
 fbCombineConjointInReverseU (pixman_implementation_t *imp, pixman_op_t op,
 			     comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineConjointGeneralU (dest, src, mask, width, CombineBIn);
 }
 
-FASTCALL static void
+static void
 fbCombineConjointOutU (pixman_implementation_t *imp, pixman_op_t op,
 		       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineConjointGeneralU (dest, src, mask, width, CombineAOut);
 }
 
-FASTCALL static void
+static void
 fbCombineConjointOutReverseU (pixman_implementation_t *imp, pixman_op_t op,
 			      comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineConjointGeneralU (dest, src, mask, width, CombineBOut);
 }
 
-FASTCALL static void
+static void
 fbCombineConjointAtopU (pixman_implementation_t *imp, pixman_op_t op,
 			comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineConjointGeneralU (dest, src, mask, width, CombineAAtop);
 }
 
-FASTCALL static void
+static void
 fbCombineConjointAtopReverseU (pixman_implementation_t *imp, pixman_op_t op,
 			       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineConjointGeneralU (dest, src, mask, width, CombineBAtop);
 }
 
-FASTCALL static void
+static void
 fbCombineConjointXorU (pixman_implementation_t *imp, pixman_op_t op,
 		       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -585,7 +585,7 @@ fbCombineConjointXorU (pixman_implementation_t *imp, pixman_op_t op,
 /*************************** Per Channel functions ******************************/
 /********************************************************************************/
 
-FASTCALL static void
+static void
 fbCombineMaskC (comp4_t *src, comp4_t *mask)
 {
     comp4_t a = *mask;
@@ -616,7 +616,7 @@ fbCombineMaskC (comp4_t *src, comp4_t *mask)
     *(mask) = a;
 }
 
-FASTCALL static void
+static void
 fbCombineMaskValueC (comp4_t *src, const comp4_t *mask)
 {
     comp4_t a = *mask;
@@ -636,7 +636,7 @@ fbCombineMaskValueC (comp4_t *src, const comp4_t *mask)
     *(src) =x;
 }
 
-FASTCALL static void
+static void
 fbCombineMaskAlphaC (const comp4_t *src, comp4_t *mask)
 {
     comp4_t a = *(mask);
@@ -661,14 +661,14 @@ fbCombineMaskAlphaC (const comp4_t *src, comp4_t *mask)
     *(mask) = a;
 }
 
-FASTCALL static void
+static void
 fbCombineClearC (pixman_implementation_t *imp, pixman_op_t op,
 		 comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     memset(dest, 0, width*sizeof(comp4_t));
 }
 
-FASTCALL static void
+static void
 fbCombineSrcC (pixman_implementation_t *imp, pixman_op_t op,
 	       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -684,7 +684,7 @@ fbCombineSrcC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-FASTCALL static void
+static void
 fbCombineOverC (pixman_implementation_t *imp, pixman_op_t op,
 		comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -711,7 +711,7 @@ fbCombineOverC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-FASTCALL static void
+static void
 fbCombineOverReverseC (pixman_implementation_t *imp, pixman_op_t op,
 		       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -737,7 +737,7 @@ fbCombineOverReverseC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-FASTCALL static void
+static void
 fbCombineInC (pixman_implementation_t *imp, pixman_op_t op,
 	      comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -762,7 +762,7 @@ fbCombineInC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-FASTCALL static void
+static void
 fbCombineInReverseC (pixman_implementation_t *imp, pixman_op_t op,
 		     comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -789,7 +789,7 @@ fbCombineInReverseC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-FASTCALL static void
+static void
 fbCombineOutC (pixman_implementation_t *imp, pixman_op_t op,
 	       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -815,7 +815,7 @@ fbCombineOutC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-FASTCALL static void
+static void
 fbCombineOutReverseC (pixman_implementation_t *imp, pixman_op_t op,
 		      comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -842,7 +842,7 @@ fbCombineOutReverseC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-FASTCALL static void
+static void
 fbCombineAtopC (pixman_implementation_t *imp, pixman_op_t op,
 		comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -864,7 +864,7 @@ fbCombineAtopC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-FASTCALL static void
+static void
 fbCombineAtopReverseC (pixman_implementation_t *imp, pixman_op_t op,
 		       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -887,7 +887,7 @@ fbCombineAtopReverseC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-FASTCALL static void
+static void
 fbCombineXorC (pixman_implementation_t *imp, pixman_op_t op,
 	       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -909,7 +909,7 @@ fbCombineXorC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-FASTCALL static void
+static void
 fbCombineAddC (pixman_implementation_t *imp, pixman_op_t op,
 	       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -927,7 +927,7 @@ fbCombineAddC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-FASTCALL static void
+static void
 fbCombineSaturateC (pixman_implementation_t *imp, pixman_op_t op,
 		    comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
@@ -975,7 +975,7 @@ fbCombineSaturateC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-FASTCALL static void
+static void
 fbCombineDisjointGeneralC (comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width, comp1_t combine)
 {
     int i;
@@ -1051,63 +1051,63 @@ fbCombineDisjointGeneralC (comp4_t *dest, const comp4_t *src, const comp4_t *mas
     }
 }
 
-FASTCALL static void
+static void
 fbCombineDisjointOverC (pixman_implementation_t *imp, pixman_op_t op,
 			comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineDisjointGeneralC (dest, src, mask, width, CombineAOver);
 }
 
-FASTCALL static void
+static void
 fbCombineDisjointInC (pixman_implementation_t *imp, pixman_op_t op,
 		      comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineDisjointGeneralC (dest, src, mask, width, CombineAIn);
 }
 
-FASTCALL static void
+static void
 fbCombineDisjointInReverseC (pixman_implementation_t *imp, pixman_op_t op,
 			     comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineDisjointGeneralC (dest, src, mask, width, CombineBIn);
 }
 
-FASTCALL static void
+static void
 fbCombineDisjointOutC (pixman_implementation_t *imp, pixman_op_t op,
 		       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineDisjointGeneralC (dest, src, mask, width, CombineAOut);
 }
 
-FASTCALL static void
+static void
 fbCombineDisjointOutReverseC (pixman_implementation_t *imp, pixman_op_t op,
 			      comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineDisjointGeneralC (dest, src, mask, width, CombineBOut);
 }
 
-FASTCALL static void
+static void
 fbCombineDisjointAtopC (pixman_implementation_t *imp, pixman_op_t op,
 			comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineDisjointGeneralC (dest, src, mask, width, CombineAAtop);
 }
 
-FASTCALL static void
+static void
 fbCombineDisjointAtopReverseC (pixman_implementation_t *imp, pixman_op_t op,
 			       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineDisjointGeneralC (dest, src, mask, width, CombineBAtop);
 }
 
-FASTCALL static void
+static void
 fbCombineDisjointXorC (pixman_implementation_t *imp, pixman_op_t op,
 		       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineDisjointGeneralC (dest, src, mask, width, CombineXor);
 }
 
-FASTCALL static void
+static void
 fbCombineConjointGeneralC (comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width, comp1_t combine)
 {
     int i;
@@ -1183,63 +1183,63 @@ fbCombineConjointGeneralC (comp4_t *dest, const comp4_t *src, const comp4_t *mas
     }
 }
 
-FASTCALL static void
+static void
 fbCombineConjointOverC (pixman_implementation_t *imp, pixman_op_t op,
 			comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineConjointGeneralC (dest, src, mask, width, CombineAOver);
 }
 
-FASTCALL static void
+static void
 fbCombineConjointOverReverseC (pixman_implementation_t *imp, pixman_op_t op,
 			       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineConjointGeneralC (dest, src, mask, width, CombineBOver);
 }
 
-FASTCALL static void
+static void
 fbCombineConjointInC (pixman_implementation_t *imp, pixman_op_t op,
 		      comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineConjointGeneralC (dest, src, mask, width, CombineAIn);
 }
 
-FASTCALL static void
+static void
 fbCombineConjointInReverseC (pixman_implementation_t *imp, pixman_op_t op,
 			     comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineConjointGeneralC (dest, src, mask, width, CombineBIn);
 }
 
-FASTCALL static void
+static void
 fbCombineConjointOutC (pixman_implementation_t *imp, pixman_op_t op,
 		       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineConjointGeneralC (dest, src, mask, width, CombineAOut);
 }
 
-FASTCALL static void
+static void
 fbCombineConjointOutReverseC (pixman_implementation_t *imp, pixman_op_t op,
 			      comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineConjointGeneralC (dest, src, mask, width, CombineBOut);
 }
 
-FASTCALL static void
+static void
 fbCombineConjointAtopC (pixman_implementation_t *imp, pixman_op_t op,
 			comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineConjointGeneralC (dest, src, mask, width, CombineAAtop);
 }
 
-FASTCALL static void
+static void
 fbCombineConjointAtopReverseC (pixman_implementation_t *imp, pixman_op_t op,
 			       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
     fbCombineConjointGeneralC (dest, src, mask, width, CombineBAtop);
 }
 
-FASTCALL static void
+static void
 fbCombineConjointXorC (pixman_implementation_t *imp, pixman_op_t op,
 		       comp4_t *dest, const comp4_t *src, const comp4_t *mask, int width)
 {
diff --git a/pixman/pixman-access.c b/pixman/pixman-access.c
index 3704c73..269fad0 100644
--- a/pixman/pixman-access.c
+++ b/pixman/pixman-access.c
@@ -70,7 +70,7 @@
 
 /*********************************** Fetch ************************************/
 
-static FASTCALL void
+static void
 fbFetch_a8r8g8b8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     const uint32_t *bits = pict->bits + y*pict->rowstride;
@@ -79,7 +79,7 @@ fbFetch_a8r8g8b8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 		   width*sizeof(uint32_t));
 }
 
-static FASTCALL void
+static void
 fbFetch_x8r8g8b8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     const uint32_t *bits = pict->bits + y*pict->rowstride;
@@ -90,7 +90,7 @@ fbFetch_x8r8g8b8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_a8b8g8r8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     const uint32_t *bits = pict->bits + y*pict->rowstride;
@@ -104,7 +104,7 @@ fbFetch_a8b8g8r8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_x8b8g8r8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     const uint32_t *bits = pict->bits + y*pict->rowstride;
@@ -119,7 +119,7 @@ fbFetch_x8b8g8r8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_b8g8r8a8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     const uint32_t *bits = pict->bits + y*pict->rowstride;
@@ -134,7 +134,7 @@ fbFetch_b8g8r8a8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_b8g8r8x8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     const uint32_t *bits = pict->bits + y*pict->rowstride;
@@ -149,7 +149,7 @@ fbFetch_b8g8r8x8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_a2b10g10r10 (bits_image_t *pict, int x, int y, int width, uint64_t *buffer)
 {
     const uint32_t *bits = pict->bits + y*pict->rowstride;
@@ -175,7 +175,7 @@ fbFetch_a2b10g10r10 (bits_image_t *pict, int x, int y, int width, uint64_t *buff
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_x2b10g10r10 (bits_image_t *pict, int x, int y, int width, uint64_t *buffer)
 {
     const uint32_t *bits = pict->bits + y*pict->rowstride;
@@ -195,7 +195,7 @@ fbFetch_x2b10g10r10 (bits_image_t *pict, int x, int y, int width, uint64_t *buff
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_r8g8b8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     const uint32_t *bits = pict->bits + y*pict->rowstride;
@@ -208,7 +208,7 @@ fbFetch_r8g8b8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_b8g8r8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     const uint32_t *bits = pict->bits + y*pict->rowstride;
@@ -229,7 +229,7 @@ fbFetch_b8g8r8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_r5g6b5 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     const uint32_t *bits = pict->bits + y*pict->rowstride;
@@ -246,7 +246,7 @@ fbFetch_r5g6b5 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_b5g6r5 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     uint32_t  r,g,b;
@@ -262,7 +262,7 @@ fbFetch_b5g6r5 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_a1r5g5b5 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     uint32_t  r,g,b, a;
@@ -280,7 +280,7 @@ fbFetch_a1r5g5b5 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_x1r5g5b5 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     uint32_t  r,g,b;
@@ -297,7 +297,7 @@ fbFetch_x1r5g5b5 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_a1b5g5r5 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     uint32_t  r,g,b, a;
@@ -315,7 +315,7 @@ fbFetch_a1b5g5r5 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_x1b5g5r5 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     uint32_t  r,g,b;
@@ -332,7 +332,7 @@ fbFetch_x1b5g5r5 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_a4r4g4b4 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     uint32_t  r,g,b, a;
@@ -350,7 +350,7 @@ fbFetch_a4r4g4b4 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_x4r4g4b4 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     uint32_t  r,g,b;
@@ -367,7 +367,7 @@ fbFetch_x4r4g4b4 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_a4b4g4r4 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     uint32_t  r,g,b, a;
@@ -385,7 +385,7 @@ fbFetch_a4b4g4r4 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_x4b4g4r4 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     uint32_t  r,g,b;
@@ -402,7 +402,7 @@ fbFetch_x4b4g4r4 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_a8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     const uint32_t *bits = pict->bits + y*pict->rowstride;
@@ -413,7 +413,7 @@ fbFetch_a8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_r3g3b2 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     uint32_t  r,g,b;
@@ -433,7 +433,7 @@ fbFetch_r3g3b2 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_b2g3r3 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     uint32_t  r,g,b;
@@ -455,7 +455,7 @@ fbFetch_b2g3r3 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_a2r2g2b2 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     uint32_t   a,r,g,b;
@@ -473,7 +473,7 @@ fbFetch_a2r2g2b2 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_a2b2g2r2 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     uint32_t   a,r,g,b;
@@ -491,7 +491,7 @@ fbFetch_a2b2g2r2 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_c8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     const uint32_t *bits = pict->bits + y*pict->rowstride;
@@ -504,7 +504,7 @@ fbFetch_c8 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_x4a4 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     const uint32_t *bits = pict->bits + y*pict->rowstride;
@@ -523,7 +523,7 @@ fbFetch_x4a4 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 #define Fetch4(img,l,o)    ((o) & 2 ? Fetch8(img,l,o) >> 4 : Fetch8(img,l,o) & 0xf)
 #endif
 
-static FASTCALL void
+static void
 fbFetch_a4 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     const uint32_t *bits = pict->bits + y*pict->rowstride;
@@ -536,7 +536,7 @@ fbFetch_a4 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_r1g2b1 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     uint32_t  r,g,b;
@@ -552,7 +552,7 @@ fbFetch_r1g2b1 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_b1g2r1 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     uint32_t  r,g,b;
@@ -568,7 +568,7 @@ fbFetch_b1g2r1 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_a1r1g1b1 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     uint32_t  a,r,g,b;
@@ -585,7 +585,7 @@ fbFetch_a1r1g1b1 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_a1b1g1r1 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     uint32_t  a,r,g,b;
@@ -602,7 +602,7 @@ fbFetch_a1b1g1r1 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_c4 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     const uint32_t *bits = pict->bits + y*pict->rowstride;
@@ -616,7 +616,7 @@ fbFetch_c4 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 }
 
 
-static FASTCALL void
+static void
 fbFetch_a1 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     const uint32_t *bits = pict->bits + y*pict->rowstride;
@@ -637,7 +637,7 @@ fbFetch_a1 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_g1 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
 {
     const uint32_t *bits = pict->bits + y*pict->rowstride;
@@ -656,7 +656,7 @@ fbFetch_g1 (bits_image_t *pict, int x, int y, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_yuy2 (bits_image_t *pict, int x, int line, int width, uint32_t *buffer)
 {
     int16_t y, u, v;
@@ -685,7 +685,7 @@ fbFetch_yuy2 (bits_image_t *pict, int x, int line, int width, uint32_t *buffer)
     }
 }
 
-static FASTCALL void
+static void
 fbFetch_yv12 (bits_image_t *pict, int x, int line, int width, uint32_t *buffer)
 {
     YV12_SETUP(pict);
@@ -777,7 +777,7 @@ fetchProc32 ACCESS(pixman_fetchProcForPicture32) (bits_image_t * pict)
     return NULL;
 }
 
-static FASTCALL void
+static void
 fbFetch64_generic (bits_image_t *pict, int x, int y, int width, uint64_t *buffer)
 {
     fetchProc32 fetch32 = ACCESS(pixman_fetchProcForPicture32) (pict);
@@ -799,7 +799,7 @@ fetchProc64 ACCESS(pixman_fetchProcForPicture64) (bits_image_t * pict)
 
 /**************************** Pixel wise fetching *****************************/
 
-static FASTCALL void
+static void
 fbFetchPixel_a2b10g10r10 (bits_image_t *pict, uint64_t *buffer, int n_pixels)
 {
     int i;
@@ -836,7 +836,7 @@ fbFetchPixel_a2b10g10r10 (bits_image_t *pict, uint64_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_x2b10g10r10 (bits_image_t *pict, uint64_t *buffer, int n_pixels)
 {
     int i;
@@ -867,7 +867,7 @@ fbFetchPixel_x2b10g10r10 (bits_image_t *pict, uint64_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_a8r8g8b8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -889,7 +889,7 @@ fbFetchPixel_a8r8g8b8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_x8r8g8b8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -911,7 +911,7 @@ fbFetchPixel_x8r8g8b8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_a8b8g8r8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -938,7 +938,7 @@ fbFetchPixel_a8b8g8r8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_x8b8g8r8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -965,7 +965,7 @@ fbFetchPixel_x8b8g8r8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_b8g8r8a8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -992,7 +992,7 @@ fbFetchPixel_b8g8r8a8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_b8g8r8x8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1019,7 +1019,7 @@ fbFetchPixel_b8g8r8x8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_r8g8b8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1052,7 +1052,7 @@ fbFetchPixel_r8g8b8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_b8g8r8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1085,7 +1085,7 @@ fbFetchPixel_b8g8r8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_r5g6b5 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1113,7 +1113,7 @@ fbFetchPixel_r5g6b5 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_b5g6r5 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1141,7 +1141,7 @@ fbFetchPixel_b5g6r5 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_a1r5g5b5 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1170,7 +1170,7 @@ fbFetchPixel_a1r5g5b5 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_x1r5g5b5 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1198,7 +1198,7 @@ fbFetchPixel_x1r5g5b5 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_a1b5g5r5 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1227,7 +1227,7 @@ fbFetchPixel_a1b5g5r5 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_x1b5g5r5 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1255,7 +1255,7 @@ fbFetchPixel_x1b5g5r5 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_a4r4g4b4 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1284,7 +1284,7 @@ fbFetchPixel_a4r4g4b4 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_x4r4g4b4 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1312,7 +1312,7 @@ fbFetchPixel_x4r4g4b4 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_a4b4g4r4 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1341,7 +1341,7 @@ fbFetchPixel_a4b4g4r4 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_x4b4g4r4 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1369,7 +1369,7 @@ fbFetchPixel_x4b4g4r4 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_a8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1393,7 +1393,7 @@ fbFetchPixel_a8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_r3g3b2 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1424,7 +1424,7 @@ fbFetchPixel_r3g3b2 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_b2g3r3 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1457,7 +1457,7 @@ fbFetchPixel_b2g3r3 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_a2r2g2b2 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1486,7 +1486,7 @@ fbFetchPixel_a2r2g2b2 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_a2b2g2r2 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1515,7 +1515,7 @@ fbFetchPixel_a2b2g2r2 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_c8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1539,7 +1539,7 @@ fbFetchPixel_c8 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_x4a4 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1563,7 +1563,7 @@ fbFetchPixel_x4a4 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_a4 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1588,7 +1588,7 @@ fbFetchPixel_a4 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_r1g2b1 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1616,7 +1616,7 @@ fbFetchPixel_r1g2b1 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_b1g2r1 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1644,7 +1644,7 @@ fbFetchPixel_b1g2r1 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_a1r1g1b1 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1673,7 +1673,7 @@ fbFetchPixel_a1r1g1b1 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_a1b1g1r1 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1702,7 +1702,7 @@ fbFetchPixel_a1b1g1r1 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_c4 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1728,7 +1728,7 @@ fbFetchPixel_c4 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 }
 
 
-static FASTCALL void
+static void
 fbFetchPixel_a1 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1761,7 +1761,7 @@ fbFetchPixel_a1 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_g1 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1792,7 +1792,7 @@ fbFetchPixel_g1 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_yuy2 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1832,7 +1832,7 @@ fbFetchPixel_yuy2 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
     }
 }
 
-static FASTCALL void
+static void
 fbFetchPixel_yv12 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     int i;
@@ -1875,7 +1875,7 @@ fbFetchPixel_yv12 (bits_image_t *pict, uint32_t *buffer, int n_pixels)
  *
  * WARNING: This function loses precision!
  */
-static FASTCALL void
+static void
 fbFetchPixel32_generic_lossy (bits_image_t *pict, uint32_t *buffer, int n_pixels)
 {
     fetch_pixels_64_t fetch_pixels_64 = ACCESS(pixman_fetchPixelProcForPicture64) (pict);
@@ -1950,7 +1950,7 @@ ACCESS(pixman_fetchPixelProcForPicture32) (bits_image_t * pict)
     return NULL;
 }
 
-static FASTCALL void
+static void
 fbFetchPixel64_generic (bits_image_t *pict, uint64_t *buffer, int n_pixels)
 {
     fetch_pixels_32_t fetch_pixels_32 = ACCESS(pixman_fetchPixelProcForPicture32) (pict);
@@ -1975,7 +1975,7 @@ ACCESS(pixman_fetchPixelProcForPicture64) (bits_image_t * pict)
 #define Splita(v)	uint32_t	a = ((v) >> 24), r = ((v) >> 16) & 0xff, g = ((v) >> 8) & 0xff, b = (v) & 0xff
 #define Split(v)	uint32_t	r = ((v) >> 16) & 0xff, g = ((v) >> 8) & 0xff, b = (v) & 0xff
 
-static FASTCALL void
+static void
 fbStore_a2b10g10r10 (pixman_image_t *image,
 		     uint32_t *bits, const uint64_t *values,
 		     int x, int width, const pixman_indexed_t * indexed)
@@ -1991,7 +1991,7 @@ fbStore_a2b10g10r10 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_x2b10g10r10 (pixman_image_t *image,
 		     uint32_t *bits, const uint64_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2005,14 +2005,14 @@ fbStore_x2b10g10r10 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_a8r8g8b8 (pixman_image_t *image,
 		  uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
     MEMCPY_WRAPPED(image, ((uint32_t *)bits) + x, values, width*sizeof(uint32_t));
 }
 
-static FASTCALL void
+static void
 fbStore_x8r8g8b8 (pixman_image_t *image,
 		  uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2022,7 +2022,7 @@ fbStore_x8r8g8b8 (pixman_image_t *image,
 	WRITE(image, pixel++, values[i] & 0xffffff);
 }
 
-static FASTCALL void
+static void
 fbStore_a8b8g8r8 (pixman_image_t *image,
 		  uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2032,7 +2032,7 @@ fbStore_a8b8g8r8 (pixman_image_t *image,
 	WRITE(image, pixel++, (values[i] & 0xff00ff00) | ((values[i] >> 16) & 0xff) | ((values[i] & 0xff) << 16));
 }
 
-static FASTCALL void
+static void
 fbStore_x8b8g8r8 (pixman_image_t *image,
 		  uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2042,7 +2042,7 @@ fbStore_x8b8g8r8 (pixman_image_t *image,
 	WRITE(image, pixel++, (values[i] & 0x0000ff00) | ((values[i] >> 16) & 0xff) | ((values[i] & 0xff) << 16));
 }
 
-static FASTCALL void
+static void
 fbStore_b8g8r8a8 (pixman_image_t *image,
 		  uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2056,7 +2056,7 @@ fbStore_b8g8r8a8 (pixman_image_t *image,
 	    ((values[i] << 24) & 0xff000000));
 }
 
-static FASTCALL void
+static void
 fbStore_b8g8r8x8 (pixman_image_t *image,
 		  uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2069,7 +2069,7 @@ fbStore_b8g8r8x8 (pixman_image_t *image,
 	    ((values[i] << 24) & 0xff000000));
 }
 
-static FASTCALL void
+static void
 fbStore_r8g8b8 (pixman_image_t *image,
 		uint32_t *bits, const uint32_t *values, int x, int width,
 		const pixman_indexed_t * indexed)
@@ -2082,7 +2082,7 @@ fbStore_r8g8b8 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_b8g8r8 (pixman_image_t *image,
 		uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2102,7 +2102,7 @@ fbStore_b8g8r8 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_r5g6b5 (pixman_image_t *image,
 		uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2116,7 +2116,7 @@ fbStore_r5g6b5 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_b5g6r5 (pixman_image_t *image,
 		uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2130,7 +2130,7 @@ fbStore_b5g6r5 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_a1r5g5b5 (pixman_image_t *image,
 		  uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2145,7 +2145,7 @@ fbStore_a1r5g5b5 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_x1r5g5b5 (pixman_image_t *image,
 		  uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2159,7 +2159,7 @@ fbStore_x1r5g5b5 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_a1b5g5r5 (pixman_image_t *image,
 		  uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2174,7 +2174,7 @@ fbStore_a1b5g5r5 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_x1b5g5r5 (pixman_image_t *image,
 		  uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2188,7 +2188,7 @@ fbStore_x1b5g5r5 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_a4r4g4b4 (pixman_image_t *image,
 		  uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2203,7 +2203,7 @@ fbStore_a4r4g4b4 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_x4r4g4b4 (pixman_image_t *image,
 		  uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2217,7 +2217,7 @@ fbStore_x4r4g4b4 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_a4b4g4r4 (pixman_image_t *image,
 		  uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2232,7 +2232,7 @@ fbStore_a4b4g4r4 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_x4b4g4r4 (pixman_image_t *image,
 		  uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2246,7 +2246,7 @@ fbStore_x4b4g4r4 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_a8 (pixman_image_t *image,
 	    uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2257,7 +2257,7 @@ fbStore_a8 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_r3g3b2 (pixman_image_t *image,
 		uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2272,7 +2272,7 @@ fbStore_r3g3b2 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_b2g3r3 (pixman_image_t *image,
 		uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2287,7 +2287,7 @@ fbStore_b2g3r3 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_a2r2g2b2 (pixman_image_t *image,
 		  uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2302,7 +2302,7 @@ fbStore_a2r2g2b2 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_c8 (pixman_image_t *image,
 	    uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2313,7 +2313,7 @@ fbStore_c8 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_x4a4 (pixman_image_t *image,
 	      uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2335,7 +2335,7 @@ fbStore_x4a4 (pixman_image_t *image,
 				   (Fetch8(img,l,o) & 0xf0) | (v)))
 #endif
 
-static FASTCALL void
+static void
 fbStore_a4 (pixman_image_t *image,
 	    uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2345,7 +2345,7 @@ fbStore_a4 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_r1g2b1 (pixman_image_t *image,
 		uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2361,7 +2361,7 @@ fbStore_r1g2b1 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_b1g2r1 (pixman_image_t *image,
 		uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2377,7 +2377,7 @@ fbStore_b1g2r1 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_a1r1g1b1 (pixman_image_t *image,
 		  uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2393,7 +2393,7 @@ fbStore_a1r1g1b1 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_a1b1g1r1 (pixman_image_t *image,
 		  uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2409,7 +2409,7 @@ fbStore_a1b1g1r1 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_c4 (pixman_image_t *image,
 	    uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2422,7 +2422,7 @@ fbStore_c4 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_a1 (pixman_image_t *image,
 	    uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2436,7 +2436,7 @@ fbStore_a1 (pixman_image_t *image,
     }
 }
 
-static FASTCALL void
+static void
 fbStore_g1 (pixman_image_t *image,
 	    uint32_t *bits, const uint32_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
@@ -2508,7 +2508,7 @@ storeProc32 ACCESS(pixman_storeProcForPicture32) (bits_image_t * pict)
  * Contracts a 64bpp image to 32bpp and then stores it using a regular 32-bit
  * store proc.
  */
-static FASTCALL void
+static void
 fbStore64_generic (pixman_image_t *image,
 		   uint32_t *bits, const uint64_t *values, int x, int width, const pixman_indexed_t * indexed)
 {
diff --git a/pixman/pixman-mmx.c b/pixman/pixman-mmx.c
index 26275d6..293f425 100644
--- a/pixman/pixman-mmx.c
+++ b/pixman/pixman-mmx.c
@@ -435,7 +435,7 @@ combine (const uint32_t *src, const uint32_t *mask)
     return ssrc;
 }
 
-static FASTCALL void
+static void
 mmxCombineOverU (pixman_implementation_t *imp, pixman_op_t op,
 		 uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -460,7 +460,7 @@ mmxCombineOverU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineOverReverseU (pixman_implementation_t *imp, pixman_op_t op,
 			uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -480,7 +480,7 @@ mmxCombineOverReverseU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineInU (pixman_implementation_t *imp, pixman_op_t op,
 	       uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -501,7 +501,7 @@ mmxCombineInU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineInReverseU (pixman_implementation_t *imp, pixman_op_t op,
 		      uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -522,7 +522,7 @@ mmxCombineInReverseU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineOutU (pixman_implementation_t *imp, pixman_op_t op,
 		uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -544,7 +544,7 @@ mmxCombineOutU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineOutReverseU (pixman_implementation_t *imp, pixman_op_t op,
 		       uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -566,7 +566,7 @@ mmxCombineOutReverseU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineAtopU (pixman_implementation_t *imp, pixman_op_t op,
 		 uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -589,7 +589,7 @@ mmxCombineAtopU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineAtopReverseU (pixman_implementation_t *imp, pixman_op_t op,
 			uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -614,7 +614,7 @@ mmxCombineAtopReverseU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineXorU (pixman_implementation_t *imp, pixman_op_t op,
 		uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -638,7 +638,7 @@ mmxCombineXorU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineAddU (pixman_implementation_t *imp, pixman_op_t op,
 		uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -657,7 +657,7 @@ mmxCombineAddU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineSaturateU (pixman_implementation_t *imp, pixman_op_t op,
 		     uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -686,7 +686,7 @@ mmxCombineSaturateU (pixman_implementation_t *imp, pixman_op_t op,
 }
 
 
-static FASTCALL void
+static void
 mmxCombineSrcC (pixman_implementation_t *imp, pixman_op_t op,
 		uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -703,7 +703,7 @@ mmxCombineSrcC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineOverC (pixman_implementation_t *imp, pixman_op_t op,
 		 uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -723,7 +723,7 @@ mmxCombineOverC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineOverReverseC (pixman_implementation_t *imp, pixman_op_t op,
 			uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -744,7 +744,7 @@ mmxCombineOverReverseC (pixman_implementation_t *imp, pixman_op_t op,
 }
 
 
-static FASTCALL void
+static void
 mmxCombineInC (pixman_implementation_t *imp, pixman_op_t op,
 	       uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -764,7 +764,7 @@ mmxCombineInC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineInReverseC (pixman_implementation_t *imp, pixman_op_t op,
 		      uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -784,7 +784,7 @@ mmxCombineInReverseC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineOutC (pixman_implementation_t *imp, pixman_op_t op,
 		uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -805,7 +805,7 @@ mmxCombineOutC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineOutReverseC (pixman_implementation_t *imp, pixman_op_t op,
 		       uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -826,7 +826,7 @@ mmxCombineOutReverseC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineAtopC (pixman_implementation_t *imp, pixman_op_t op,
 		 uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -849,7 +849,7 @@ mmxCombineAtopC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineAtopReverseC (pixman_implementation_t *imp, pixman_op_t op,
 			uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -872,7 +872,7 @@ mmxCombineAtopReverseC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineXorC (pixman_implementation_t *imp, pixman_op_t op,
 		uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -896,7 +896,7 @@ mmxCombineXorC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 mmxCombineAddC (pixman_implementation_t *imp, pixman_op_t op,
 		uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h
index e6933da..e891692 100644
--- a/pixman/pixman-private.h
+++ b/pixman/pixman-private.h
@@ -152,20 +152,19 @@ typedef struct point point_t;
 /* FIXME - the types and structures below should be give proper names
  */
 
-#define FASTCALL
-typedef FASTCALL void (*CombineFunc32) (uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width);
-typedef FASTCALL void (*fetchProc32)(bits_image_t *pict, int x, int y, int width,
+typedef void (*CombineFunc32) (uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width);
+typedef void (*fetchProc32)(bits_image_t *pict, int x, int y, int width,
                                      uint32_t *buffer);
-typedef FASTCALL uint32_t (*fetchPixelProc32)(bits_image_t *pict, int offset, int line);
-typedef FASTCALL void (*storeProc32)(pixman_image_t *, uint32_t *bits,
+typedef uint32_t (*fetchPixelProc32)(bits_image_t *pict, int offset, int line);
+typedef void (*storeProc32)(pixman_image_t *, uint32_t *bits,
                                      const uint32_t *values, int x, int width,
                                      const pixman_indexed_t *);
 
-typedef FASTCALL void (*CombineFunc64) (uint64_t *dest, const uint64_t *src, const uint64_t *mask, int width);
-typedef FASTCALL void (*fetchProc64)(bits_image_t *pict, int x, int y, int width,
+typedef void (*CombineFunc64) (uint64_t *dest, const uint64_t *src, const uint64_t *mask, int width);
+typedef void (*fetchProc64)(bits_image_t *pict, int x, int y, int width,
                                      uint64_t *buffer);
-typedef FASTCALL uint64_t (*fetchPixelProc64)(bits_image_t *pict, int offset, int line);
-typedef FASTCALL void (*storeProc64)(pixman_image_t *, uint32_t *bits,
+typedef uint64_t (*fetchPixelProc64)(bits_image_t *pict, int offset, int line);
+typedef void (*storeProc64)(pixman_image_t *, uint32_t *bits,
                                      const uint64_t *values, int x, int width,
                                      const pixman_indexed_t *);
 
diff --git a/pixman/pixman-sse2.c b/pixman/pixman-sse2.c
index 8b48b2e..47174d4 100644
--- a/pixman/pixman-sse2.c
+++ b/pixman/pixman-sse2.c
@@ -2315,7 +2315,7 @@ createMask_2x32_128 (uint32_t mask0, uint32_t mask1)
 
 /* SSE2 code patch for fbcompose.c */
 
-static FASTCALL void
+static void
 sse2CombineOverU (pixman_implementation_t *imp, pixman_op_t op,
 		  uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2323,7 +2323,7 @@ sse2CombineOverU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineOverReverseU (pixman_implementation_t *imp, pixman_op_t op,
 			 uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2331,7 +2331,7 @@ sse2CombineOverReverseU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineInU (pixman_implementation_t *imp, pixman_op_t op,
 		uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2339,7 +2339,7 @@ sse2CombineInU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineInReverseU (pixman_implementation_t *imp, pixman_op_t op,
 		       uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2347,7 +2347,7 @@ sse2CombineInReverseU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineOutU (pixman_implementation_t *imp, pixman_op_t op,
 		 uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2355,7 +2355,7 @@ sse2CombineOutU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineOutReverseU (pixman_implementation_t *imp, pixman_op_t op,
 			uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2363,7 +2363,7 @@ sse2CombineOutReverseU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineAtopU (pixman_implementation_t *imp, pixman_op_t op,
 		  uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2371,7 +2371,7 @@ sse2CombineAtopU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineAtopReverseU (pixman_implementation_t *imp, pixman_op_t op,
 			 uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2379,7 +2379,7 @@ sse2CombineAtopReverseU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineXorU (pixman_implementation_t *imp, pixman_op_t op,
 		 uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2387,7 +2387,7 @@ sse2CombineXorU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineAddU (pixman_implementation_t *imp, pixman_op_t op,
 		 uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2395,7 +2395,7 @@ sse2CombineAddU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineSaturateU (pixman_implementation_t *imp, pixman_op_t op,
 		      uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2403,7 +2403,7 @@ sse2CombineSaturateU (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineSrcC (pixman_implementation_t *imp, pixman_op_t op,
 		 uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2411,7 +2411,7 @@ sse2CombineSrcC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineOverC (pixman_implementation_t *imp, pixman_op_t op,
 		  uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2419,7 +2419,7 @@ sse2CombineOverC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineOverReverseC (pixman_implementation_t *imp, pixman_op_t op,
 			 uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2427,7 +2427,7 @@ sse2CombineOverReverseC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineInC (pixman_implementation_t *imp, pixman_op_t op,
 		uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2435,7 +2435,7 @@ sse2CombineInC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineInReverseC (pixman_implementation_t *imp, pixman_op_t op,
 		       uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2443,7 +2443,7 @@ sse2CombineInReverseC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineOutC (pixman_implementation_t *imp, pixman_op_t op,
 		 uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2451,7 +2451,7 @@ sse2CombineOutC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineOutReverseC (pixman_implementation_t *imp, pixman_op_t op,
 			uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2459,7 +2459,7 @@ sse2CombineOutReverseC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineAtopC (pixman_implementation_t *imp, pixman_op_t op,
 		  uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2467,7 +2467,7 @@ sse2CombineAtopC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineAtopReverseC (pixman_implementation_t *imp, pixman_op_t op,
 			 uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2475,7 +2475,7 @@ sse2CombineAtopReverseC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineXorC (pixman_implementation_t *imp, pixman_op_t op,
 		 uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -2483,7 +2483,7 @@ sse2CombineXorC (pixman_implementation_t *imp, pixman_op_t op,
     _mm_empty();
 }
 
-static FASTCALL void
+static void
 sse2CombineAddC (pixman_implementation_t *imp, pixman_op_t op,
 		 uint32_t *dst, const uint32_t *src, const uint32_t *mask, int width)
 {
diff --git a/pixman/pixman-vmx.c b/pixman/pixman-vmx.c
index ea4821d..96d5488 100644
--- a/pixman/pixman-vmx.c
+++ b/pixman/pixman-vmx.c
@@ -216,7 +216,7 @@ over (vector unsigned int src, vector unsigned int srca,
         vec_st ((vector unsigned int) tmp3, 15, dest ); \
         vec_st ((vector unsigned int) tmp1, 0, dest );
 
-static FASTCALL void
+static void
 vmxCombineOverUnomask (uint32_t *dest, const uint32_t *src, int width)
 {
     int i;
@@ -249,7 +249,7 @@ vmxCombineOverUnomask (uint32_t *dest, const uint32_t *src, int width)
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineOverUmask (uint32_t *dest,
                      const uint32_t *src,
                      const uint32_t *mask,
@@ -291,7 +291,7 @@ vmxCombineOverUmask (uint32_t *dest,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineOverU(pixman_implementation_t *imp, pixman_op_t op,
 		uint32_t *dest, const uint32_t *src, const uint32_t *mask,
                 int width)
@@ -302,7 +302,7 @@ vmxCombineOverU(pixman_implementation_t *imp, pixman_op_t op,
         vmxCombineOverUnomask(dest, src, width);
 }
 
-static FASTCALL void
+static void
 vmxCombineOverReverseUnomask (uint32_t *dest, const uint32_t *src, int width)
 {
     int i;
@@ -335,7 +335,7 @@ vmxCombineOverReverseUnomask (uint32_t *dest, const uint32_t *src, int width)
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineOverReverseUmask (uint32_t *dest,
                             const uint32_t *src,
                             const uint32_t *mask,
@@ -375,7 +375,7 @@ vmxCombineOverReverseUmask (uint32_t *dest,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineOverReverseU (pixman_implementation_t *imp, pixman_op_t op,
 			uint32_t *dest, const uint32_t *src,
                         const uint32_t *mask, int width)
@@ -386,7 +386,7 @@ vmxCombineOverReverseU (pixman_implementation_t *imp, pixman_op_t op,
         vmxCombineOverReverseUnomask(dest, src, width);
 }
 
-static FASTCALL void
+static void
 vmxCombineInUnomask (uint32_t *dest, const uint32_t *src, int width)
 {
     int i;
@@ -418,7 +418,7 @@ vmxCombineInUnomask (uint32_t *dest, const uint32_t *src, int width)
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineInUmask (uint32_t *dest,
                    const uint32_t *src,
                    const uint32_t *mask,
@@ -457,7 +457,7 @@ vmxCombineInUmask (uint32_t *dest,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineInU (pixman_implementation_t *imp, pixman_op_t op,
 	       uint32_t *dest, const uint32_t *src, const uint32_t *mask,
                int width)
@@ -468,7 +468,7 @@ vmxCombineInU (pixman_implementation_t *imp, pixman_op_t op,
         vmxCombineInUnomask(dest, src, width);
 }
 
-static FASTCALL void
+static void
 vmxCombineInReverseUnomask (uint32_t *dest, const uint32_t *src, int width)
 {
     int i;
@@ -499,7 +499,7 @@ vmxCombineInReverseUnomask (uint32_t *dest, const uint32_t *src, int width)
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineInReverseUmask (uint32_t *dest,
                           const uint32_t *src,
                           const uint32_t *mask,
@@ -539,7 +539,7 @@ vmxCombineInReverseUmask (uint32_t *dest,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineInReverseU (pixman_implementation_t *imp, pixman_op_t op,
 		      uint32_t *dest, const uint32_t *src,
                       const uint32_t *mask, int width)
@@ -550,7 +550,7 @@ vmxCombineInReverseU (pixman_implementation_t *imp, pixman_op_t op,
         vmxCombineInReverseUnomask(dest, src, width);
 }
 
-static FASTCALL void
+static void
 vmxCombineOutUnomask (uint32_t *dest, const uint32_t *src, int width)
 {
     int i;
@@ -581,7 +581,7 @@ vmxCombineOutUnomask (uint32_t *dest, const uint32_t *src, int width)
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineOutUmask (uint32_t *dest,
                     const uint32_t *src,
                     const uint32_t *mask,
@@ -620,7 +620,7 @@ vmxCombineOutUmask (uint32_t *dest,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineOutU (pixman_implementation_t *imp, pixman_op_t op,
 		uint32_t *dest, const uint32_t *src, const uint32_t *mask,
                 int width)
@@ -631,7 +631,7 @@ vmxCombineOutU (pixman_implementation_t *imp, pixman_op_t op,
         vmxCombineOutUnomask(dest, src, width);
 }
 
-static FASTCALL void
+static void
 vmxCombineOutReverseUnomask (uint32_t *dest, const uint32_t *src, int width)
 {
     int i;
@@ -662,7 +662,7 @@ vmxCombineOutReverseUnomask (uint32_t *dest, const uint32_t *src, int width)
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineOutReverseUmask (uint32_t *dest,
                            const uint32_t *src,
                            const uint32_t *mask,
@@ -702,7 +702,7 @@ vmxCombineOutReverseUmask (uint32_t *dest,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineOutReverseU (pixman_implementation_t *imp, pixman_op_t op,
 		       uint32_t *dest,
                        const uint32_t *src,
@@ -715,7 +715,7 @@ vmxCombineOutReverseU (pixman_implementation_t *imp, pixman_op_t op,
         vmxCombineOutReverseUnomask(dest, src, width);
 }
 
-static FASTCALL void
+static void
 vmxCombineAtopUnomask (uint32_t *dest, const uint32_t *src, int width)
 {
     int i;
@@ -750,7 +750,7 @@ vmxCombineAtopUnomask (uint32_t *dest, const uint32_t *src, int width)
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineAtopUmask (uint32_t *dest,
                      const uint32_t *src,
                      const uint32_t *mask,
@@ -794,7 +794,7 @@ vmxCombineAtopUmask (uint32_t *dest,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineAtopU (pixman_implementation_t *imp, pixman_op_t op,
 		 uint32_t *dest,
                  const uint32_t *src,
@@ -807,7 +807,7 @@ vmxCombineAtopU (pixman_implementation_t *imp, pixman_op_t op,
         vmxCombineAtopUnomask(dest, src, width);
 }
 
-static FASTCALL void
+static void
 vmxCombineAtopReverseUnomask (uint32_t *dest, const uint32_t *src, int width)
 {
     int i;
@@ -842,7 +842,7 @@ vmxCombineAtopReverseUnomask (uint32_t *dest, const uint32_t *src, int width)
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineAtopReverseUmask (uint32_t *dest,
                             const uint32_t *src,
                             const uint32_t *mask,
@@ -886,7 +886,7 @@ vmxCombineAtopReverseUmask (uint32_t *dest,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineAtopReverseU (pixman_implementation_t *imp, pixman_op_t op,
 			uint32_t *dest,
                         const uint32_t *src,
@@ -899,7 +899,7 @@ vmxCombineAtopReverseU (pixman_implementation_t *imp, pixman_op_t op,
         vmxCombineAtopReverseUnomask(dest, src, width);
 }
 
-static FASTCALL void
+static void
 vmxCombineXorUnomask (uint32_t *dest, const uint32_t *src, int width)
 {
     int i;
@@ -934,7 +934,7 @@ vmxCombineXorUnomask (uint32_t *dest, const uint32_t *src, int width)
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineXorUmask (uint32_t *dest,
                     const uint32_t *src,
                     const uint32_t *mask,
@@ -978,7 +978,7 @@ vmxCombineXorUmask (uint32_t *dest,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineXorU (pixman_implementation_t *imp, pixman_op_t op,
 		uint32_t *dest,
                 const uint32_t *src,
@@ -991,7 +991,7 @@ vmxCombineXorU (pixman_implementation_t *imp, pixman_op_t op,
         vmxCombineXorUnomask(dest, src, width);
 }
 
-static FASTCALL void
+static void
 vmxCombineAddUnomask (uint32_t *dest, const uint32_t *src, int width)
 {
     int i;
@@ -1021,7 +1021,7 @@ vmxCombineAddUnomask (uint32_t *dest, const uint32_t *src, int width)
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineAddUmask (uint32_t *dest,
                     const uint32_t *src,
                     const uint32_t *mask,
@@ -1060,7 +1060,7 @@ vmxCombineAddUmask (uint32_t *dest,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineAddU (pixman_implementation_t *imp, pixman_op_t op,
 		uint32_t *dest,
                 const uint32_t *src,
@@ -1073,7 +1073,7 @@ vmxCombineAddU (pixman_implementation_t *imp, pixman_op_t op,
         vmxCombineAddUnomask(dest, src, width);
 }
 
-static FASTCALL void
+static void
 vmxCombineSrcC (pixman_implementation_t *imp, pixman_op_t op,
 		uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -1105,7 +1105,7 @@ vmxCombineSrcC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineOverC (pixman_implementation_t *imp, pixman_op_t op,
 		 uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -1139,7 +1139,7 @@ vmxCombineOverC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineOverReverseC (pixman_implementation_t *imp, pixman_op_t op,
 			uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -1174,7 +1174,7 @@ vmxCombineOverReverseC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineInC (pixman_implementation_t *imp, pixman_op_t op,
 	       uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -1209,7 +1209,7 @@ vmxCombineInC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineInReverseC (pixman_implementation_t *imp, pixman_op_t op,
 		      uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -1244,7 +1244,7 @@ vmxCombineInReverseC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineOutC (pixman_implementation_t *imp, pixman_op_t op,
 		uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -1280,7 +1280,7 @@ vmxCombineOutC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineOutReverseC (pixman_implementation_t *imp, pixman_op_t op,
 		       uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -1317,7 +1317,7 @@ vmxCombineOutReverseC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineAtopC (pixman_implementation_t *imp, pixman_op_t op,
 		 uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -1359,7 +1359,7 @@ vmxCombineAtopC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineAtopReverseC (pixman_implementation_t *imp, pixman_op_t op,
 			uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -1401,7 +1401,7 @@ vmxCombineAtopReverseC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineXorC (pixman_implementation_t *imp, pixman_op_t op,
 		uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
@@ -1443,7 +1443,7 @@ vmxCombineXorC (pixman_implementation_t *imp, pixman_op_t op,
     }
 }
 
-static FASTCALL void
+static void
 vmxCombineAddC (pixman_implementation_t *imp, pixman_op_t op,
 		uint32_t *dest, const uint32_t *src, const uint32_t *mask, int width)
 {
commit 207c9480b5fdb30dd5b9bfc37707ff9cbf1d2d8a
Author: Søren Sandmann Pedersen <sandmann at redhat.com>
Date:   Fri Jun 19 12:15:19 2009 -0400

    Delete FbComposeData type

diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h
index 6876c44..e6933da 100644
--- a/pixman/pixman-private.h
+++ b/pixman/pixman-private.h
@@ -169,31 +169,9 @@ typedef FASTCALL void (*storeProc64)(pixman_image_t *, uint32_t *bits,
                                      const uint64_t *values, int x, int width,
                                      const pixman_indexed_t *);
 
-typedef struct _FbComposeData {
-    uint8_t	 op;
-    pixman_image_t	*src;
-    pixman_image_t	*mask;
-    pixman_image_t	*dest;
-    int16_t	 xSrc;
-    int16_t	 ySrc;
-    int16_t	 xMask;
-    int16_t	 yMask;
-    int16_t	 xDest;
-    int16_t	 yDest;
-    uint16_t	 width;
-    uint16_t	 height;
-} FbComposeData;
-
 typedef void (* fetch_pixels_32_t) (bits_image_t *image, uint32_t *buffer, int n_pixels);
 typedef void (* fetch_pixels_64_t) (bits_image_t *image, uint64_t *buffer, int n_pixels);
 
-void pixman_composite_rect_general_accessors (const FbComposeData *data,
-                                              void *src_buffer,
-                                              void *mask_buffer,
-                                              void *dest_buffer,
-                                              const int wide);
-void pixman_composite_rect_general (const FbComposeData *data);
-
 fetchProc32 pixman_fetchProcForPicture32 (bits_image_t *);
 fetch_pixels_32_t pixman_fetchPixelProcForPicture32 (bits_image_t *);
 storeProc32 pixman_storeProcForPicture32 (bits_image_t *);
commit 9dfaa6365f247c1fefb84805ecf850deebb05193
Author: Søren Sandmann Pedersen <sandmann at redhat.com>
Date:   Thu Jun 4 06:02:32 2009 -0400

    Remove unused pixmanFetchGradient() declaration

diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h
index 4a5de59..6876c44 100644
--- a/pixman/pixman-private.h
+++ b/pixman/pixman-private.h
@@ -211,8 +211,6 @@ storeProc64 pixman_storeProcForPicture64_accessors (bits_image_t *);
 void pixman_expand(uint64_t *dst, const uint32_t *src, pixman_format_code_t, int width);
 void pixman_contract(uint32_t *dst, const uint64_t *src, int width);
 
-void pixmanFetchGradient (gradient_t *, int x, int y, int width,
-                           uint32_t *buffer, uint32_t *mask, uint32_t maskBits);
 void _pixman_image_get_scanline_64_generic (pixman_image_t * pict, int x, int y, int width,
 					    uint64_t *buffer, uint64_t *mask, uint32_t maskBits);
 
commit da001051d876051763dc0bc1a90d58ec7ca31e96
Author: Søren Sandmann Pedersen <sandmann at redhat.com>
Date:   Wed Jun 3 22:51:18 2009 -0400

    Remove dstMask from pixman-fast-path.c
    
    These were used to zero the x8 channel of PIXMAN_x8r8g8b8
    destinations. However, we treat this channel as undefined, so there is
    no need to zero it.

diff --git a/pixman/pixman-fast-path.c b/pixman/pixman-fast-path.c
index 553ca8a..67510c3 100644
--- a/pixman/pixman-fast-path.c
+++ b/pixman/pixman-fast-path.c
@@ -27,8 +27,6 @@
 #include <string.h>
 #include "pixman-private.h"
 #include "pixman-combine32.h"
-#define FbFullMask(n) \
-    ((n) == 32 ? (uint32_t)-1 : ((((uint32_t) 1) << n) - 1))
 
 static force_inline uint32_t
 fbOver (uint32_t src, uint32_t dest)
@@ -147,7 +145,7 @@ fbCompositeSolidMaskIn_nx8x8 (pixman_implementation_t *imp,
 			      int32_t     height)
 {
     uint32_t	src, srca;
-    uint8_t	*dstLine, *dst, dstMask;
+    uint8_t	*dstLine, *dst;
     uint8_t	*maskLine, *mask, m;
     int	dstStride, maskStride;
     uint16_t	w;
@@ -155,7 +153,6 @@ fbCompositeSolidMaskIn_nx8x8 (pixman_implementation_t *imp,
 
     fbComposeGetSolid(iSrc, src, iDst->bits.format);
 
-    dstMask = FbFullMask (PIXMAN_FORMAT_DEPTH (iDst->bits.format));
     srca = src >> 24;
 
     fbComposeGetStart (iDst, xDst, yDst, uint8_t, dstStride, dstLine, 1);
@@ -279,14 +276,13 @@ fbCompositeSolidMask_nx8x8888 (pixman_implementation_t *imp,
 			       int32_t     height)
 {
     uint32_t	 src, srca;
-    uint32_t	*dstLine, *dst, d, dstMask;
+    uint32_t	*dstLine, *dst, d;
     uint8_t	*maskLine, *mask, m;
     int		 dstStride, maskStride;
     uint16_t	 w;
 
     fbComposeGetSolid(pSrc, src, pDst->bits.format);
 
-    dstMask = FbFullMask (PIXMAN_FORMAT_DEPTH (pDst->bits.format));
     srca = src >> 24;
     if (src == 0)
 	return;
@@ -308,14 +304,14 @@ fbCompositeSolidMask_nx8x8888 (pixman_implementation_t *imp,
 	    if (m == 0xff)
 	    {
 		if (srca == 0xff)
-		    *dst = src & dstMask;
+		    *dst = src;
 		else
-		    *dst = fbOver (src, *dst) & dstMask;
+		    *dst = fbOver (src, *dst);
 	    }
 	    else if (m)
 	    {
 		d = fbIn (src, m);
-		*dst = fbOver (d, *dst) & dstMask;
+		*dst = fbOver (d, *dst);
 	    }
 	    dst++;
 	}
@@ -338,7 +334,7 @@ fbCompositeSolidMask_nx8888x8888C (pixman_implementation_t *imp,
 				   int32_t     height)
 {
     uint32_t	src, srca;
-    uint32_t	*dstLine, *dst, d, dstMask;
+    uint32_t	*dstLine, *dst, d;
     uint32_t	*maskLine, *mask, ma;
     int	dstStride, maskStride;
     uint16_t	w;
@@ -346,7 +342,6 @@ fbCompositeSolidMask_nx8888x8888C (pixman_implementation_t *imp,
 
     fbComposeGetSolid(pSrc, src, pDst->bits.format);
 
-    dstMask = FbFullMask (PIXMAN_FORMAT_DEPTH (pDst->bits.format));
     srca = src >> 24;
     if (src == 0)
 	return;
@@ -368,9 +363,9 @@ fbCompositeSolidMask_nx8888x8888C (pixman_implementation_t *imp,
 	    if (ma == 0xffffffff)
 	    {
 		if (srca == 0xff)
-		    *dst = src & dstMask;
+		    *dst = src;
 		else
-		    *dst = fbOver (src, *dst) & dstMask;
+		    *dst = fbOver (src, *dst);
 	    }
 	    else if (ma)
 	    {
@@ -612,7 +607,7 @@ fbCompositeSrc_8888x8888 (pixman_implementation_t *imp,
 			 int32_t     width,
 			 int32_t     height)
 {
-    uint32_t	*dstLine, *dst, dstMask;
+    uint32_t	*dstLine, *dst;
     uint32_t	*srcLine, *src, s;
     int	dstStride, srcStride;
     uint8_t	a;
@@ -621,8 +616,6 @@ fbCompositeSrc_8888x8888 (pixman_implementation_t *imp,
     fbComposeGetStart (pDst, xDst, yDst, uint32_t, dstStride, dstLine, 1);
     fbComposeGetStart (pSrc, xSrc, ySrc, uint32_t, srcStride, srcLine, 1);
 
-    dstMask = FbFullMask (PIXMAN_FORMAT_DEPTH (pDst->bits.format));
-
     while (height--)
     {
 	dst = dstLine;
@@ -636,9 +629,9 @@ fbCompositeSrc_8888x8888 (pixman_implementation_t *imp,
 	    s = *src++;
 	    a = s >> 24;
 	    if (a == 0xff)
-		*dst = s & dstMask;
+		*dst = s;
 	    else if (s)
-		*dst = fbOver (s, *dst) & dstMask;
+		*dst = fbOver (s, *dst);
 	    dst++;
 	}
     }


More information about the xorg-commit mailing list