[cairo-bugs] [Bug 4774] Filling shapes a lot arger than window size make cairo crawl

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 8 05:45:09 PDT 2008


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

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

--- Comment #5 from Chris Wilson <chris at chris-wilson.co.uk>  2008-10-08 05:44:34 PST ---
The tesselator current discards all edges above or below the clip area - which
vastly speeds up this particular test case. The final trapezoids are again
adjusted to fit within the limits so no more pixels are filled than required
and I do not see a significant difference between filling the large arc and
just painting the window. As part of my self-intersecting work, I have
implemented full-clipping of edges and this generates just a single trapezoid
covering the entire window. As it stands I believe 1.8.0 does not suffer from
this DoS, and I expect it to only improve in future (either through clipping of
edges or Janoos' spans work).

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