From 0ff7c94fcf6497ee8575f81cf97eeeb3a857739e Mon Sep 17 00:00:00 2001 From: Soren Sandmann Pedersen Date: Thu, 26 Apr 2007 10:56:02 -0400 Subject: Pixman merge Make use of fbCompositeSrcAdd_8888x8x8mmx --- fb/fbpict.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'fb/fbpict.c') 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; -- cgit v1.2.3