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.
parent 46a91d2d
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment