summaryrefslogtreecommitdiff
path: root/exa/exa.c
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2010-05-20 10:13:06 +0200
committerKeith Packard <keithp@keithp.com>2010-05-20 07:48:51 -0700
commita1c2bdb6ab7a4f374844f80e83620b155991e817 (patch)
treeff51b8da2e07976198cae64d6c81d1b944cee577 /exa/exa.c
parent00581d4a42e2a0e7652834973645a4a9ed59cf93 (diff)
EXA: Wrap Glyphs even without Composite acceleration.
In order to avoid migration ping-pong when accumulating glyphs in a mask picture. Signed-off-by: Michel Dänzer <daenzer@vmware.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'exa/exa.c')
-rw-r--r--exa/exa.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/exa/exa.c b/exa/exa.c
index 7b3b9a0ad..46a850f8f 100644
--- a/exa/exa.c
+++ b/exa/exa.c
@@ -932,8 +932,11 @@ exaDriverInit (ScreenPtr pScreen,
if (ps) {
wrap(pExaScr, ps, Composite, exaComposite);
- if (pScreenInfo->PrepareComposite)
+ if (pScreenInfo->PrepareComposite) {
wrap(pExaScr, ps, Glyphs, exaGlyphs);
+ } else {
+ wrap(pExaScr, ps, Glyphs, ExaCheckGlyphs);
+ }
wrap(pExaScr, ps, Trapezoids, exaTrapezoids);
wrap(pExaScr, ps, Triangles, exaTriangles);
wrap(pExaScr, ps, AddTraps, ExaCheckAddTraps);