From b9203dc068ccd4c0d22d49a94b910783432b96a8 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 30 Mar 2006 21:25:43 +0000 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ exa/exa_accel.c | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5c52a519c..7760524e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-03-30 Eric Anholt + + * 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 * hw/kdrive/ephyr/Makefile.am: diff --git a/exa/exa_accel.c b/exa/exa_accel.c index bae755970..a7bde1673 100644 --- a/exa/exa_accel.c +++ b/exa/exa_accel.c @@ -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);