From fa6523d13ae9b7986bb890df5ad66e8599bc3ed8 Mon Sep 17 00:00:00 2001 From: Taekyun Kim Date: Thu, 22 Sep 2011 16:26:55 +0900 Subject: [PATCH] Add new fast path flag FAST_PATH_BITS_IMAGE This fast path flag indicate that type of the image is bits image. --- pixman/pixman-image.c | 1 + pixman/pixman-private.h | 1 + 2 files changed, 2 insertions(+) diff --git a/pixman/pixman-image.c b/pixman/pixman-image.c index d22698c..afe587f 100644 --- a/pixman/pixman-image.c +++ b/pixman/pixman-image.c @@ -375,6 +375,7 @@ compute_image_info (pixman_image_t *image) else { code = image->bits.format; + flags |= FAST_PATH_BITS_IMAGE; } if (!PIXMAN_FORMAT_A (image->bits.format) && diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h index 69971ea..741fa7e 100644 --- a/pixman/pixman-private.h +++ b/pixman/pixman-private.h @@ -631,6 +631,7 @@ _pixman_iter_get_scanline_noop (pixman_iter_t *iter, const uint32_t *mask); #define FAST_PATH_ROTATE_270_TRANSFORM (1 << 22) #define FAST_PATH_SAMPLES_COVER_CLIP_NEAREST (1 << 23) #define FAST_PATH_SAMPLES_COVER_CLIP_BILINEAR (1 << 24) +#define FAST_PATH_BITS_IMAGE (1 << 25) #define FAST_PATH_PAD_REPEAT \ (FAST_PATH_NO_NONE_REPEAT | \ -- 2.7.4