[Xorg-driver-geode] [PATCH 2/7] Add the maskrepeat variable

Huang, FrankR FrankR.Huang at amd.com
Wed Jun 9 23:51:14 PDT 2010


From: Frank Huang <frankr.huang at amd.com>

The mask picture has the repeat attribute as the source picture repeat
attribute. Use this variable to record it for the future use

Signed-off-by: Frank Huang <frankr.huang at amd.com>
---
 src/lx_exa.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/lx_exa.c b/src/lx_exa.c
index ab33124..2dd0d48 100644
--- a/src/lx_exa.c
+++ b/src/lx_exa.c
@@ -88,6 +88,7 @@ static struct
     unsigned int srcColor;
     int op;
     int repeat;
+    int maskrepeat;
     unsigned int fourBpp;
     unsigned int bufferOffset;
     struct exa_format_t *srcFormat;
@@ -675,6 +676,7 @@ lx_prepare_composite(int op, PicturePtr pSrc, PicturePtr pMsk,
 	/* Save off the info we need (reuse the source values to save space) */
 
 	exaScratch.type = COMP_TYPE_MASK;
+	exaScratch.maskrepeat = pMsk->repeat;
 
 	exaScratch.srcOffset = exaGetPixmapOffset(pxMsk);
 	exaScratch.srcPitch = exaGetPixmapPitch(pxMsk);
-- 
1.7.1




More information about the Xorg-driver-geode mailing list