diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-10-29 14:23:58 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-11-03 10:50:01 +0100 |
commit | f5c5cb10f9f855cfe26af49b8a93b8f4b3e40371 (patch) | |
tree | 72d1861729513ba5735be9a2695fb495f31ae0b1 /nx-X11/programs/Xserver/fb/fbcopy.c | |
parent | 89e1457d1cd84ac77d80043c4bc86fed7fe712ff (diff) | |
download | nx-libs-f5c5cb10f9f855cfe26af49b8a93b8f4b3e40371.tar.gz nx-libs-f5c5cb10f9f855cfe26af49b8a93b8f4b3e40371.tar.bz2 nx-libs-f5c5cb10f9f855cfe26af49b8a93b8f4b3e40371.zip |
Xserver/fb: Drop fbmmx.[ch] files and code passages wrapped-in by USE_MMX macro.
commit 78179ae827bb5d19abb1340084362bc51ad5c1e5
Author: Søren Sandmann Pedersen <sandmann@redhat.com>
Date: Mon Jun 11 22:46:42 2007 -0400
Remove fbmmx.[ch] files
Backported-to-NX-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Other than X.org, we don't yet introduce using pixman_* function calls
in the nxagent Xserver's fb code.
Fixes ArcticaProject/nx-libs#252.
Diffstat (limited to 'nx-X11/programs/Xserver/fb/fbcopy.c')
-rw-r--r-- | nx-X11/programs/Xserver/fb/fbcopy.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/nx-X11/programs/Xserver/fb/fbcopy.c b/nx-X11/programs/Xserver/fb/fbcopy.c index 65790e20b..39c75afc5 100644 --- a/nx-X11/programs/Xserver/fb/fbcopy.c +++ b/nx-X11/programs/Xserver/fb/fbcopy.c @@ -30,7 +30,6 @@ #ifdef IN_MODULE #include "xf86_ansic.h" #endif -#include "fbmmx.h" void fbCopyNtoN (DrawablePtr pSrcDrawable, @@ -61,27 +60,6 @@ fbCopyNtoN (DrawablePtr pSrcDrawable, while (nbox--) { -#ifdef USE_MMX - if (pm == FB_ALLONES && alu == GXcopy && !reverse && - !upsidedown && fbHaveMMX()) - { - if (!fbCopyAreammx (pSrcDrawable, - pDstDrawable, - - (pbox->x1 + dx), - (pbox->y1 + dy), - - (pbox->x1), - (pbox->y1), - - (pbox->x2 - pbox->x1), - (pbox->y2 - pbox->y1))) - goto fallback; - else - goto next; - } - fallback: -#endif fbBlt (src + (pbox->y1 + dy + srcYoff) * srcStride, srcStride, (pbox->x1 + dx + srcXoff) * srcBpp, @@ -99,9 +77,6 @@ fbCopyNtoN (DrawablePtr pSrcDrawable, reverse, upsidedown); -#ifdef USE_MMX - next: -#endif pbox++; } } |