From f4e9a1a98f97155de62908309e87c10487125926 Mon Sep 17 00:00:00 2001 From: Maarten Maathuis Date: Sun, 31 Aug 2008 17:45:08 +0200 Subject: damage: choose less ambiguous function names --- exa/exa_render.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'exa') diff --git a/exa/exa_render.c b/exa/exa_render.c index 9f6ac3f92..f9c6b40ee 100644 --- a/exa/exa_render.c +++ b/exa/exa_render.c @@ -518,7 +518,7 @@ exaCompositeRects(CARD8 op, REGION_INIT(pScreen, ®ion, &box, 1); - DamageRegionPending(pDst->pDrawable, ®ion); + DamageRegionAppend(pDst->pDrawable, ®ion); REGION_UNINIT(pScreen, ®ion); } @@ -545,10 +545,10 @@ exaCompositeRects(CARD8 op, if (pExaPixmap->pDamage) { /* Now we have to flush the damage out from pendingDamage => damage - * Calling DamageRegionSubmitted has that effect. + * Calling DamageRegionProcessPending has that effect. */ - DamageRegionSubmitted(pDst->pDrawable); + DamageRegionProcessPending(pDst->pDrawable); } } @@ -1075,7 +1075,7 @@ exaTrapezoids (CARD8 op, PicturePtr pSrc, PicturePtr pDst, bounds.y2 += pDraw->y; REGION_INIT(pScreen, &migration, &bounds, 1); - DamageRegionPending(pDraw, &migration); + DamageRegionAppend(pDraw, &migration); REGION_UNINIT(pScreen, &migration); } @@ -1087,7 +1087,7 @@ exaTrapezoids (CARD8 op, PicturePtr pSrc, PicturePtr pDst, exaFinishAccess(pDraw, EXA_PREPARE_DEST); if (pExaPixmap->pDamage) - DamageRegionSubmitted(pDraw); + DamageRegionProcessPending(pDraw); } else if (maskFormat) { @@ -1179,7 +1179,7 @@ exaTriangles (CARD8 op, PicturePtr pSrc, PicturePtr pDst, bounds.y2 += pDraw->y; REGION_INIT(pScreen, &migration, &bounds, 1); - DamageRegionPending(pDraw, &migration); + DamageRegionAppend(pDraw, &migration); REGION_UNINIT(pScreen, &migration); } @@ -1188,7 +1188,7 @@ exaTriangles (CARD8 op, PicturePtr pSrc, PicturePtr pDst, exaFinishAccess(pDraw, EXA_PREPARE_DEST); if (pExaPixmap->pDamage) - DamageRegionSubmitted(pDraw); + DamageRegionProcessPending(pDraw); } else if (maskFormat) { -- cgit v1.2.3