diff options
author | Ville Syrjälä <ville.syrjala@nokia.com> | 2011-01-05 20:41:04 +0200 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-01-05 11:56:28 -0800 |
commit | e41e907b3c19908f5316346fa587ced3115478cd (patch) | |
tree | 88451db0f232dee7de41c93243ec08908d499035 /mi | |
parent | 0dede200c9ac7adbe8b8c16efacc3edc1f183cd9 (diff) |
Add subWindowMode parameter to SourceValidate
Pass the subWindowMode from the GC/source Picture to SourceValidate.
Signed-off-by: Ville Syrjälä <ville.syrjala@nokia.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'mi')
-rw-r--r-- | mi/micopy.c | 3 | ||||
-rw-r--r-- | mi/misprite.c | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/mi/micopy.c b/mi/micopy.c index 027c461fe..50e266752 100644 --- a/mi/micopy.c +++ b/mi/micopy.c @@ -186,7 +186,8 @@ miDoCopy (DrawablePtr pSrcDrawable, if ((pSrcDrawable != pDstDrawable) && pSrcDrawable->pScreen->SourceValidate) { - (*pSrcDrawable->pScreen->SourceValidate) (pSrcDrawable, xIn, yIn, widthSrc, heightSrc); + (*pSrcDrawable->pScreen->SourceValidate) (pSrcDrawable, xIn, yIn, widthSrc, heightSrc, + pGC->subWindowMode); } /* Compute source clip region */ diff --git a/mi/misprite.c b/mi/misprite.c index c25c093f2..770951e8f 100644 --- a/mi/misprite.c +++ b/mi/misprite.c @@ -198,7 +198,8 @@ static void miSpriteGetSpans(DrawablePtr pDrawable, int wMax, DDXPointPtr ppt, int *pwidth, int nspans, char *pdstStart); static void miSpriteSourceValidate(DrawablePtr pDrawable, int x, int y, - int width, int height); + int width, int height, + unsigned int subWindowMode); static void miSpriteCopyWindow (WindowPtr pWindow, DDXPointRec ptOldOrg, RegionPtr prgnSrc); @@ -489,7 +490,7 @@ miSpriteGetSpans (DrawablePtr pDrawable, int wMax, DDXPointPtr ppt, static void miSpriteSourceValidate (DrawablePtr pDrawable, int x, int y, int width, - int height) + int height, unsigned int subWindowMode) { ScreenPtr pScreen = pDrawable->pScreen; DeviceIntPtr pDev; @@ -517,7 +518,7 @@ miSpriteSourceValidate (DrawablePtr pDrawable, int x, int y, int width, } if (pScreen->SourceValidate) - (*pScreen->SourceValidate) (pDrawable, x, y, width, height); + (*pScreen->SourceValidate) (pDrawable, x, y, width, height, subWindowMode); SCREEN_EPILOGUE (pPriv, pScreen, SourceValidate); } |