From f07f18231a921d3ae9dd9b75881c9e58e9e2e235 Mon Sep 17 00:00:00 2001 From: Michel Dänzer Date: Thu, 26 Feb 2009 10:35:44 +0100 Subject: EXA: Allow using exaCompositeRects also when we can't use a mask in exaGlyphs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- exa/exa_priv.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'exa/exa_priv.h') 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); -- cgit v1.2.3