summaryrefslogtreecommitdiff
path: root/exa/exa_render.c
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2007-09-26 16:47:54 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2007-09-26 16:52:27 +0200
commit56ffc381d32687242dd094395fcf2216339bab2a (patch)
treefbe36ec6cf191ddc7a9985feb6664ba38de519e6 /exa/exa_render.c
parentaa0325db7e8ab11d9418cae14f11c488f443ccaa (diff)
EXA: Removed duplicated exaGetDrawablePixmap() calls.
Diffstat (limited to 'exa/exa_render.c')
-rw-r--r--exa/exa_render.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/exa/exa_render.c b/exa/exa_render.c
index 4c931283e..2ad53041a 100644
--- a/exa/exa_render.c
+++ b/exa/exa_render.c
@@ -384,7 +384,6 @@ exaTryDriverComposite(CARD8 op,
width, height))
return 1;
- pDstPix = exaGetDrawablePixmap (pDst->pDrawable);
exaGetDrawableDeltas (pDst->pDrawable, pDstPix, &dst_off_x, &dst_off_y);
REGION_TRANSLATE(pScreen, &region, dst_off_x, dst_off_y);
@@ -395,12 +394,12 @@ exaTryDriverComposite(CARD8 op,
pixmaps[0].pReg = pixmaps[0].as_src ? NULL : &region;
pixmaps[1].as_dst = FALSE;
pixmaps[1].as_src = TRUE;
- pixmaps[1].pPix = exaGetDrawablePixmap (pSrc->pDrawable);
+ pixmaps[1].pPix = pSrcPix;
pixmaps[1].pReg = NULL;
if (pMask) {
pixmaps[2].as_dst = FALSE;
pixmaps[2].as_src = TRUE;
- pixmaps[2].pPix = exaGetDrawablePixmap (pMask->pDrawable);
+ pixmaps[2].pPix = pMaskPix;
pixmaps[2].pReg = NULL;
exaDoMigration(pixmaps, 3, TRUE);
} else {