mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-08 23:12:27 +00:00
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>
This commit is contained in:
parent
0dede200c9
commit
e41e907b3c
11 changed files with 29 additions and 17 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue