summaryrefslogtreecommitdiff
path: root/exa/exa_render.c
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-10-03 22:59:40 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-10-03 23:59:06 +0200
commit416870d8c9e7e383b87c8513c2296a0cb66e7ef4 (patch)
treead92ecf847fa420b522e89e618660a1ef63b26a3 /exa/exa_render.c
parentb72a217ad59cc527327d7b1fc81898677b977d8f (diff)
exa: remove some excessive whitespace
Diffstat (limited to 'exa/exa_render.c')
-rw-r--r--exa/exa_render.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/exa/exa_render.c b/exa/exa_render.c
index f9c6b40ee..c2c1df05d 100644
--- a/exa/exa_render.c
+++ b/exa/exa_render.c
@@ -371,7 +371,7 @@ exaTryDriverCompositeRects(CARD8 op,
}
exaGetDrawableDeltas (pDst->pDrawable, pDstPix, &dst_off_x, &dst_off_y);
-
+
pixmaps[0].as_dst = TRUE;
pixmaps[0].as_src = exaOpReadsDestination(op);
pixmaps[0].pPix = pDstPix;
@@ -406,24 +406,24 @@ exaTryDriverCompositeRects(CARD8 op,
INT16 yDst = rects->yDst + pDst->pDrawable->y;
INT16 xSrc = rects->xSrc + pSrc->pDrawable->x;
INT16 ySrc = rects->ySrc + pSrc->pDrawable->y;
-
+
RegionRec region;
BoxPtr pbox;
int nbox;
-
+
if (!miComputeCompositeRegion (&region, pSrc, NULL, pDst,
xSrc, ySrc, 0, 0, xDst, yDst,
rects->width, rects->height))
goto next_rect;
-
+
REGION_TRANSLATE(pScreen, &region, dst_off_x, dst_off_y);
-
+
nbox = REGION_NUM_RECTS(&region);
pbox = REGION_RECTS(&region);
xSrc = xSrc + src_off_x - xDst - dst_off_x;
ySrc = ySrc + src_off_y - yDst - dst_off_y;
-
+
while (nbox--)
{
(*pExaScr->info->Composite) (pDstPix,
@@ -442,10 +442,10 @@ exaTryDriverCompositeRects(CARD8 op,
rects++;
}
-
+
(*pExaScr->info->DoneComposite) (pDstPix);
exaMarkSync(pDst->pDrawable->pScreen);
-
+
return 1;
}