diff -up pixman-0.15.14/pixman/pixman-utils.c.revert-fast-path-call pixman-0.15.14/pixman/pixman-utils.c --- pixman-0.15.14/pixman/pixman-utils.c.revert-fast-path-call 2009-06-25 01:30:45.000000000 +0900 +++ pixman-0.15.14/pixman/pixman-utils.c 2009-06-30 14:52:56.000000000 +0900 @@ -566,22 +566,6 @@ get_fast_path (const pixman_fast_path_t return NULL; } -static inline pixman_bool_t -image_covers (pixman_image_t *image, pixman_box32_t *extents, int x, int y) -{ - if (image->common.type == BITS && image->common.repeat == PIXMAN_REPEAT_NONE) - { - if (x > extents->x1 || y > extents->y1 || - x + image->bits.width < extents->x2 || - y + image->bits.height < extents->y2) - { - return FALSE; - } - } - - return TRUE; -} - pixman_bool_t _pixman_run_fast_path (const pixman_fast_path_t *paths, pixman_implementation_t *imp, @@ -673,11 +657,6 @@ _pixman_run_fast_path (const pixman_fast if (pixman_compute_composite_region32 ( ®ion, src, mask, dest, src_x, src_y, mask_x, mask_y, dest_x, dest_y, width, height)) { - pixman_box32_t *extents = pixman_region32_extents (®ion); - - if (image_covers (src, extents, dest_x - src_x, dest_y - src_y) && - (!mask || image_covers (mask, extents, dest_x - mask_x, dest_y - mask_y))) - { walk_region_internal (imp, op, src, mask, dest, src_x, src_y, mask_x, mask_y, @@ -688,7 +667,6 @@ _pixman_run_fast_path (const pixman_fast func); result = TRUE; - } } pixman_region32_fini (®ion);