From 18634c37026a2d6147443cb6d991576f62b07e6d Mon Sep 17 00:00:00 2001 From: M Joonas Pihlaja Date: Thu, 24 Jul 2008 20:47:14 +0300 Subject: [cairo-spans] Hook up filling paths with spans to cairo-surface-fallback.c. This speeds up the mask generation step in cairo_fill() for the image surface by up to 10x in especially favourable cases. image-rgba twin-800 7757.80 0.20% -> 749.41 0.29%: 10.36x speedup image-rgba spiral-diag-pixalign-nonzero-fill-512 15.16 0.44% -> 3.45 8.80%: 5.54x speedup More typical simple non-rectilinear geometries are sped up by 30-50%. This patch does not affect any stroking operations or any fill operations of pixel aligned rectilinear geometries; those are still rendered using trapezoids. --- test/trap-clip.xlib.ref.png | Bin 0 -> 5772 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 test/trap-clip.xlib.ref.png (limited to 'test/trap-clip.xlib.ref.png') diff --git a/test/trap-clip.xlib.ref.png b/test/trap-clip.xlib.ref.png new file mode 100644 index 00000000..2cbbdb76 Binary files /dev/null and b/test/trap-clip.xlib.ref.png differ -- cgit v1.2.3