[Webkit-unassigned] [Bug 202260] Terrible closePath performance

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 29 23:12:19 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=202260

--- Comment #3 from the.mcoo at gmail.com ---
Created attachment 379825

  --> https://bugs.webkit.org/attachment.cgi?id=379825&action=review

Rendering closed paths containg beziers

The test_beziers.html contains a very much narrowed down case - closePath is called on paths containing bezier segments. If you comment out lines 28-30 and uncomment lines 24-26 it's much much quicker (when no beziers are used)

We developed a workaround where we flatten all beziers using Casteljau algorithm prior to closing the paths. Even though the amount of computation seems very high, this method is much quicker than just closing the path containing beziers.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190930/8101ccb1/attachment.html>


More information about the webkit-unassigned mailing list