summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2011-01-26 07:43:08 -0500
committerSøren Sandmann Pedersen <ssp@redhat.com>2011-01-26 07:45:05 -0500
commit296abee8c74a2b4b0beb3466ab9189b008d02533 (patch)
tree16d109363ce145c32e7f850c5a273997ff4c3320
parentf0c55637907f42b01dabbacc29a8a5de2e82e06c (diff)
Remove calls to SourceValidate() from uxa-damage.cHEADsurface-fixes
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.
-rw-r--r--src/uxa/uxa-damage.c20
1 files changed, 0 insertions, 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;