From: Søren Sandmann Pedersen Date: Tue, 23 Jun 2009 00:43:08 +0000 (-0400) Subject: Delete unused _pixman_image_get_fetcher() function X-Git-Tag: 1.0_branch~995 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c70814b6bff2091bcc55ae4252fe82ae53439e4;p=profile%2Fivi%2Fpixman.git Delete unused _pixman_image_get_fetcher() function --- diff --git a/pixman/pixman-image.c b/pixman/pixman-image.c index 3a0d0f8..9558ccb 100644 --- a/pixman/pixman-image.c +++ b/pixman/pixman-image.c @@ -140,6 +140,9 @@ _pixman_image_get_scanline_32 (pixman_image_t *image, int x, int y, int width, image->common.get_scanline_32 (image, x, y, width, buffer, mask, mask_bits); } +/* Even thought the type of buffer is uint32_t *, the function actually expects + * a uint64_t *buffer. + */ void _pixman_image_get_scanline_64 (pixman_image_t *image, int x, int y, int width, uint32_t *buffer, uint32_t *unused, uint32_t unused2) @@ -147,23 +150,6 @@ _pixman_image_get_scanline_64 (pixman_image_t *image, int x, int y, int width, image->common.get_scanline_64 (image, x, y, width, buffer, unused, unused2); } -/* Even thought the type of buffer is uint32_t *, the function actually expects - * a uint64_t *buffer. - */ - -scanFetchProc -_pixman_image_get_fetcher (pixman_image_t *image, - int wide) -{ - assert (image->common.get_scanline_64); - assert (image->common.get_scanline_32); - - if (wide) - return image->common.get_scanline_64; - else - return image->common.get_scanline_32; -} - static void image_property_changed (pixman_image_t *image) {