diff options
author | Søren Sandmann Pedersen <sandmann@redhat.com> | 2007-06-11 15:19:27 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <sandmann@redhat.com> | 2007-06-11 15:19:27 -0400 |
commit | 3f9adb18f127318d054f30a57e3a77176e14c692 (patch) | |
tree | ce334974a30347e50a56f653ec2011d2f764b72a /fb/fbcopy.c | |
parent | d06099b38e8445e6e31f5178ffefcc31a71080ef (diff) |
Port a few forgotten fbSolidFillmmx()'es to fbFillmmx(). Use pixman_blt() instead of fbBltmmx()
in fbCopyNToN().
Diffstat (limited to 'fb/fbcopy.c')
-rw-r--r-- | fb/fbcopy.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/fb/fbcopy.c b/fb/fbcopy.c index 74ff35848..a4302037a 100644 --- a/fb/fbcopy.c +++ b/fb/fbcopy.c @@ -60,17 +60,17 @@ fbCopyNtoN (DrawablePtr pSrcDrawable, while (nbox--) { -#ifdef USE_MMX +#ifndef FB_ACCESS_WRAPPER /* pixman_blt() doesn't support accessors yet */ if (pm == FB_ALLONES && alu == GXcopy && !reverse && - !upsidedown && fbHaveMMX()) + !upsidedown) { - if (!fbBltmmx (src, dst, srcStride, dstStride, srcBpp, dstBpp, - (pbox->x1 + dx + srcXoff), - (pbox->y1 + dy + srcYoff), - (pbox->x1 + srcXoff), - (pbox->y1 + srcYoff), - (pbox->x2 - pbox->x1), - (pbox->y2 - pbox->y1))) + if (!pixman_blt ((uint32_t *)src, (uint32_t *)dst, srcStride, dstStride, srcBpp, dstBpp, + (pbox->x1 + dx + srcXoff), + (pbox->y1 + dy + srcYoff), + (pbox->x1 + srcXoff), + (pbox->y1 + srcYoff), + (pbox->x2 - pbox->x1), + (pbox->y2 - pbox->y1))) goto fallback; else goto next; @@ -94,7 +94,7 @@ fbCopyNtoN (DrawablePtr pSrcDrawable, reverse, upsidedown); -#ifdef USE_MMX +#ifndef FB_ACCESS_WRAPPER next: #endif pbox++; |