diff options
author | Soren Sandmann Pedersen <ssp@dhcp83-218.boston.redhat.com> | 2007-04-26 10:56:02 -0400 |
---|---|---|
committer | Soren Sandmann Pedersen <ssp@dhcp83-218.boston.redhat.com> | 2007-04-26 10:56:02 -0400 |
commit | 0ff7c94fcf6497ee8575f81cf97eeeb3a857739e (patch) | |
tree | 0a4b642a89bdb8b611c3b47c1bed9a2a46222356 /fb/fbpict.c | |
parent | 701ccb4a22cfd646ccb7f19b7b3a476aeb5ce2da (diff) |
Pixman merge
Make use of fbCompositeSrcAdd_8888x8x8mmx
Diffstat (limited to 'fb/fbpict.c')
-rw-r--r-- | fb/fbpict.c | 7 |
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; |