diff options
author | Taekyun Kim <tkq.kim@samsung.com> | 2011-09-22 16:26:55 +0900 |
---|---|---|
committer | Taekyun Kim <tkq.kim@samsung.com> | 2011-10-10 12:18:18 +0900 |
commit | fa6523d13ae9b7986bb890df5ad66e8599bc3ed8 (patch) | |
tree | fda84dddedb9863329434be3e1d2b971fd92998b | |
parent | 7272e2fcd2ff8e546cef19929cd370ae2f946135 (diff) |
Add new fast path flag FAST_PATH_BITS_IMAGE
This fast path flag indicate that type of the image is bits image.
-rw-r--r-- | pixman/pixman-image.c | 1 | ||||
-rw-r--r-- | pixman/pixman-private.h | 1 |
2 files changed, 2 insertions, 0 deletions
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 | \ |