From 296abee8c74a2b4b0beb3466ab9189b008d02533 Mon Sep 17 00:00:00 2001 From: Søren Sandmann Pedersen Date: Wed, 26 Jan 2011 07:43:08 -0500 Subject: Remove calls to SourceValidate() from uxa-damage.c These were kludges and are not necessary with new servers. Note that they were never necessary for the QXL driver because we generally don't use software cursors. --- src/uxa/uxa-damage.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/uxa/uxa-damage.c b/src/uxa/uxa-damage.c index 3449b97..2259a43 100644 --- a/src/uxa/uxa-damage.c +++ b/src/uxa/uxa-damage.c @@ -473,16 +473,6 @@ uxa_damage_copy_area(RegionPtr region, int dstx, int dsty) { - /* The driver will only call SourceValidate() when pSrc != pDst, - * but the software sprite (misprite.c) always need to know when a - * drawable is copied so it can remove the sprite. See #1030. */ - if ((pSrc == pDst) && pSrc->pScreen->SourceValidate && - pSrc->type == DRAWABLE_WINDOW && - ((WindowPtr)pSrc)->viewable) - { - (*pSrc->pScreen->SourceValidate) (pSrc, srcx, srcy, width, height); - } - if (checkGCDamage (pGC)) { BoxRec box; @@ -511,16 +501,6 @@ uxa_damage_copy_plane (RegionPtr region, int dsty, unsigned long bitPlane) { - /* The driver will only call SourceValidate() when pSrc != pDst, - * but the software sprite (misprite.c) always need to know when a - * drawable is copied so it can remove the sprite. See #1030. */ - if ((pSrc == pDst) && pSrc->pScreen->SourceValidate && - pSrc->type == DRAWABLE_WINDOW && - ((WindowPtr)pSrc)->viewable) - { - (*pSrc->pScreen->SourceValidate) (pSrc, srcx, srcy, width, height); - } - if (checkGCDamage (pGC)) { BoxRec box; -- cgit v1.2.3