summaryrefslogtreecommitdiff
path: root/fb/fbpict.c
diff options
context:
space:
mode:
authorSoren Sandmann Pedersen <ssp@dhcp83-218.boston.redhat.com>2007-04-26 10:56:02 -0400
committerSoren Sandmann Pedersen <ssp@dhcp83-218.boston.redhat.com>2007-04-26 10:56:02 -0400
commit0ff7c94fcf6497ee8575f81cf97eeeb3a857739e (patch)
tree0a4b642a89bdb8b611c3b47c1bed9a2a46222356 /fb/fbpict.c
parent701ccb4a22cfd646ccb7f19b7b3a476aeb5ce2da (diff)
Pixman merge
Make use of fbCompositeSrcAdd_8888x8x8mmx
Diffstat (limited to 'fb/fbpict.c')
-rw-r--r--fb/fbpict.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/fb/fbpict.c b/fb/fbpict.c
index ace19fd1f..0a08affd7 100644
--- a/fb/fbpict.c
+++ b/fb/fbpict.c
@@ -1962,7 +1962,12 @@ fbComposite (CARD8 op,
pDst->format == PICT_a8)
{
srcRepeat = FALSE;
- func = fbCompositeSrcAdd_8888x8x8;
+#ifdef USE_MMX
+ if (fbHaveMMX())
+ func = fbCompositeSrcAdd_8888x8x8mmx;
+ else
+#endif
+ func = fbCompositeSrcAdd_8888x8x8;
}
}
break;