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:
parent
5c04610f8a
commit
b9203dc068
|
@ -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:
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue