diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-02-26 17:35:20 -0500 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-03-01 23:49:50 -0500 |
commit | 5adf569317f923cd5eb547209a8d927be0d81049 (patch) | |
tree | 1b528d7dabb2266f23d66c2b654cc64c205f7591 /pixman/pixman-bits-image.c | |
parent | 3c3c70fa0b524569df0ec20c50d481626e518462 (diff) |
Move fetching for solid bits images to pixman-noop.c
This should be a bit faster because it can reuse the scanline on each iteration.
Diffstat (limited to 'pixman/pixman-bits-image.c')
-rw-r--r-- | pixman/pixman-bits-image.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/pixman/pixman-bits-image.c b/pixman/pixman-bits-image.c index 2f56de3..d105d2f 100644 --- a/pixman/pixman-bits-image.c +++ b/pixman/pixman-bits-image.c @@ -970,28 +970,6 @@ replicate_pixel_64 (bits_image_t * bits, } static void -bits_image_fetch_solid_32 (pixman_image_t * image, - int x, - int y, - int width, - uint32_t * buffer, - const uint32_t * mask) -{ - replicate_pixel_32 (&image->bits, 0, 0, width, buffer); -} - -static void -bits_image_fetch_solid_64 (pixman_image_t * image, - int x, - int y, - int width, - uint32_t * b, - const uint32_t * unused) -{ - replicate_pixel_64 (&image->bits, 0, 0, width, b); -} - -static void bits_image_fetch_untransformed_repeat_none (bits_image_t *image, pixman_bool_t wide, int x, @@ -1131,12 +1109,6 @@ typedef struct static const fetcher_info_t fetcher_info[] = { - { PIXMAN_solid, - FAST_PATH_NO_ALPHA_MAP, - bits_image_fetch_solid_32, - bits_image_fetch_solid_64 - }, - { PIXMAN_any, (FAST_PATH_NO_ALPHA_MAP | FAST_PATH_ID_TRANSFORM | |