diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-27 12:56:43 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-27 13:40:58 +0100 |
commit | ee5c74deee77db4292ce197ab7facca422f86021 (patch) | |
tree | 06ac2112a19f8e2f1167012b3710a6bd7c1f7c39 /src/sna/sna_glyphs.c | |
parent | 6ba4ee1fe842e975c94a01f93c6d39c20eadadbe (diff) |
sna/glyphs: Add DBG option for forcing glyphs-to-dst
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_glyphs.c')
-rw-r--r-- | src/sna/sna_glyphs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sna/sna_glyphs.c b/src/sna/sna_glyphs.c index 28cb58df..9b9ae102 100644 --- a/src/sna/sna_glyphs.c +++ b/src/sna/sna_glyphs.c @@ -70,6 +70,7 @@ #define FALLBACK 0 #define NO_GLYPH_CACHE 0 #define NO_GLYPHS_TO_DST 0 +#define FORCE_GLYPHS_TO_DST 0 #define NO_GLYPHS_VIA_MASK 0 #define FORCE_SMALL_MASK 0 /* -1 = never, 1 = always */ #define NO_GLYPHS_SLOW 0 @@ -1991,7 +1992,8 @@ sna_glyphs(CARD8 op, } /* Try to discard the mask for non-overlapping glyphs */ - if (mask == NULL || + if (FORCE_GLYPHS_TO_DST || + mask == NULL || (dst->pCompositeClip->data == NULL && can_discard_mask(op, src, mask, nlist, list, glyphs))) { DBG(("%s: discarding mask\n", __FUNCTION__)); |