diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-02-26 10:35:44 +0100 |
---|---|---|
committer | Michel Dänzer <daenzer@vmware.com> | 2009-02-26 10:35:44 +0100 |
commit | f07f18231a921d3ae9dd9b75881c9e58e9e2e235 (patch) | |
tree | 7cc6deae377d4d6b20f0874c9304b91d08d964e7 /exa/exa_priv.h | |
parent | b26c136ee9bf7015c583136af53d0c9e9da67ace (diff) |
EXA: Allow using exaCompositeRects also when we can't use a mask in exaGlyphs.
This should give the full benefits of the glyph cache even when we can't use a
mask.
This also means we no longer need to scan the glyphs to see if they overlap,
we can just use a mask or not as the client asks.
Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Diffstat (limited to 'exa/exa_priv.h')
-rw-r--r-- | exa/exa_priv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/exa/exa_priv.h b/exa/exa_priv.h index ea8c3da91..8f83701bf 100644 --- a/exa/exa_priv.h +++ b/exa/exa_priv.h @@ -287,8 +287,11 @@ typedef struct _ExaMigrationRec { } ExaMigrationRec, *ExaMigrationPtr; typedef struct { + PicturePtr pDst; INT16 xSrc; INT16 ySrc; + INT16 xMask; + INT16 yMask; INT16 xDst; INT16 yDst; INT16 width; @@ -519,6 +522,7 @@ exaComposite(CARD8 op, void exaCompositeRects(CARD8 op, PicturePtr Src, + PicturePtr pMask, PicturePtr pDst, int nrect, ExaCompositeRectPtr rects); |