diff options
author | Lars Knoll <lars@trolltech.com> | 2005-07-12 10:02:10 +0000 |
---|---|---|
committer | Lars Knoll <lars@trolltech.com> | 2005-07-12 10:02:10 +0000 |
commit | 41002623f314444bd416fd5f445a0425c5b59df0 (patch) | |
tree | 525579ab1d0980cdece7df43115c7fae43c55abc /fb/fbpict.c | |
parent | 697cf74fb50a550b8f7e124dc8f463a55519795f (diff) |
Add MMX Code paths for the basic composition operations in
fbComposeGeneral.
Diffstat (limited to 'fb/fbpict.c')
-rw-r--r-- | fb/fbpict.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fb/fbpict.c b/fb/fbpict.c index 40dd2853c..20d9ad559 100644 --- a/fb/fbpict.c +++ b/fb/fbpict.c @@ -850,6 +850,14 @@ fbComposite (CARD8 op, int x_msk, y_msk, x_src, y_src, x_dst, y_dst; int w, h, w_this, h_this; +#ifdef USE_MMX + static Bool mmx_setup = FALSE; + if (!mmx_setup) { + fbComposeSetupMMX(); + mmx_setup = TRUE; + } +#endif + xDst += pDst->pDrawable->x; yDst += pDst->pDrawable->y; if (pSrc->pDrawable) { |