gfx/cairo/fix-unnecessary-fallback.patch

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/cairo/fix-unnecessary-fallback.patch	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,14 @@
     1.4 +diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c
     1.5 +index 353cbcd..1a053d0 100644
     1.6 +--- a/src/cairo-xlib-surface.c
     1.7 ++++ b/src/cairo-xlib-surface.c
     1.8 +@@ -1818,7 +1817,8 @@ _recategorize_composite_operation (cairo_xlib_surface_t	      *dst,
     1.9 + 	    return DO_XTILE;
    1.10 +     }
    1.11 + 
    1.12 +-    if (dst->buggy_repeat && src_attr->extend == CAIRO_EXTEND_REPEAT)
    1.13 ++    if (dst->buggy_repeat && src_attr->extend == CAIRO_EXTEND_REPEAT &&
    1.14 ++	    (src->width != 1 || src->height != 1))
    1.15 + 	return DO_UNSUPPORTED;
    1.16 + 
    1.17 +     if (! CAIRO_SURFACE_RENDER_HAS_COMPOSITE (src))

mercurial