summaryrefslogtreecommitdiff
path: root/exa/exa_priv.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2012-10-29 12:57:54 +0100
committerKeith Packard <keithp@keithp.com>2012-10-29 09:06:44 -0700
commit1ca096d5e07221025c4c4110528772b7d94f15ee (patch)
treeb7013a4a473329b8aa1f6f050508841923a7b94e /exa/exa_priv.h
parent53830281b4da096f9c13107d73ec9c76ff1d14cc (diff)
EXA: Track source/mask pixmaps more explicitly for Composite fallback regions.
In particular, make sure pExaScr->src/maskPix are cleared when the corresponding pictures aren't associated with drawables, i.e. solid or gradient pictures. Without this, we would in some cases associate the source/mask region with unrelated pixmaps from previous Composite fallbacks, resulting in random corruption. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47266 Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'exa/exa_priv.h')
-rw-r--r--exa/exa_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/exa/exa_priv.h b/exa/exa_priv.h
index 70075786a..1f5605687 100644
--- a/exa/exa_priv.h
+++ b/exa/exa_priv.h
@@ -208,6 +208,7 @@ typedef struct {
RegionRec srcReg;
RegionRec maskReg;
PixmapPtr srcPix;
+ PixmapPtr maskPix;
DevPrivateKeyRec pixmapPrivateKeyRec;
DevPrivateKeyRec gcPrivateKeyRec;