[Pixman] [PATCH] Add FAST_PATH_NO_ALPHA_MAP to the standard destination flags.

Søren Sandmann sandmann at daimi.au.dk
Wed Sep 8 20:27:07 PDT 2010


From: Søren Sandmann Pedersen <ssp at redhat.com>

We can't in general take a fast path if the destination has an alpha
map.
---
 pixman/pixman-private.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h
index dedea0b..3557fb2 100644
--- a/pixman/pixman-private.h
+++ b/pixman/pixman-private.h
@@ -613,6 +613,7 @@ _pixman_choose_implementation (void);
      FAST_PATH_COMPONENT_ALPHA)
 #define FAST_PATH_STD_DEST_FLAGS					\
     (FAST_PATH_NO_ACCESSORS		|				\
+     FAST_PATH_NO_ALPHA_MAP		|				\
      FAST_PATH_NO_WIDE_FORMAT)
 
 #define FAST_PATH(op, src, src_flags, mask, mask_flags, dest, dest_flags, func) \
-- 
1.7.1.1



More information about the Pixman mailing list