[cairo-bugs] [Bug 26010] cairo_line_to optimizes away path segments

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 12 09:09:02 PST 2010


http://bugs.freedesktop.org/show_bug.cgi?id=26010


Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Chris Wilson <chris at chris-wilson.co.uk>  2010-01-12 09:09:00 PST ---
Thanks for the bug report!

commit 74ea4c908067f5579b51d3dbaea387da8f343671
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Jan 12 17:00:25 2010 +0000

    path: Do not remove anti-parallel line segments in case we are stroking

      Bug 26010 - cairo_line_to optimizes away path segments
      http://bugs.freedesktop.org/show_bug.cgi?id=26010

    As exercised by path-stroke-twice, we incorrectly optimise away a line
    segment if the path doubled back upon itself. This is very reminiscent
    of the optimisation bug for replacing curve-to with line-to.

commit a5dd5a6069c0d7435260a954d8d98483f5fbcc1c
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Jan 12 16:32:09 2010 +0000

    test: Add path-stroke-twice

    Exercises a bug found by alois at astro.ch, whereby we inadvertently remove
    a line segment when the path doubles back upon itself.

      Bug 26010 - cairo_line_to optimizes away path segments
      http://bugs.freedesktop.org/show_bug.cgi?id=26010


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list