Don't do an extra fallback path for CopyWindow while swappedOut, since

exaCopyNtoN takes care of the fallback anyway, and we don't care about
    the performance of this path.
This commit is contained in:
Eric Anholt 2006-03-30 21:25:43 +00:00
parent 5c04610f8a
commit b9203dc068
2 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,10 @@
2006-03-30 Eric Anholt <anholt@FreeBSD.org>
* exa/exa_accel.c: (exaCopyWindow):
Don't do an extra fallback path for CopyWindow while swappedOut, since
exaCopyNtoN takes care of the fallback anyway, and we don't care about
the performance of this path.
2006-03-30 Eric Anholt <anholt@FreeBSD.org>
* hw/kdrive/ephyr/Makefile.am:

View File

@ -817,13 +817,6 @@ exaCopyWindow(WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc)
int dx, dy;
PixmapPtr pPixmap = (*pWin->drawable.pScreen->GetWindowPixmap) (pWin);
if (pExaScr->swappedOut) {
ExaScreenPriv(pWin->drawable.pScreen);
pExaScr->SavedCopyWindow (pWin, ptOldOrg, prgnSrc);
exaDrawableDirty (&pWin->drawable);
return;
}
dx = ptOldOrg.x - pWin->drawable.x;
dy = ptOldOrg.y - pWin->drawable.y;
REGION_TRANSLATE(pWin->drawable.pScreen, prgnSrc, -dx, -dy);