diff options
author | Soren Sandmann Pedersen <ssp@dhcp83-218.boston.redhat.com> | 2007-02-06 17:30:22 -0500 |
---|---|---|
committer | Soren Sandmann Pedersen <ssp@dhcp83-218.boston.redhat.com> | 2007-02-06 17:30:22 -0500 |
commit | 262b9b104a04e55969593ef96a16004e53ecd00a (patch) | |
tree | 610e00c695f0cdda353a8b0dee0319264d32b46d /fb/fbpict.c | |
parent | 876b806ec09d5ff0c6cd19df91006c4eefedfaa6 (diff) |
Use the new 8888x0565mmx function in fbpict.c
Diffstat (limited to 'fb/fbpict.c')
-rw-r--r-- | fb/fbpict.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/fb/fbpict.c b/fb/fbpict.c index 3ff609f77..cd6cac277 100644 --- a/fb/fbpict.c +++ b/fb/fbpict.c @@ -1175,7 +1175,12 @@ fbComposite (CARD8 op, func = fbCompositeSrc_8888x0888; break; case PICT_r5g6b5: - func = fbCompositeSrc_8888x0565; +#ifdef USE_MMX + if (fbHaveMMX()) + func = fbCompositeSrc_8888x0565mmx; + else +#endif + func = fbCompositeSrc_8888x0565; break; default: break; @@ -1221,7 +1226,12 @@ fbComposite (CARD8 op, func = fbCompositeSrc_8888x0888; break; case PICT_b5g6r5: - func = fbCompositeSrc_8888x0565; +#ifdef USE_MMX + if (fbHaveMMX()) + func = fbCompositeSrc_8888x0565mmx; + else +#endif + func = fbCompositeSrc_8888x0565; break; default: break; |