[Webkit-unassigned] [Bug 50869] [cairo] Rendering a lot of arcs on top of each other causes time outs in some tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 10 06:06:24 PST 2011


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


Alejandro G. Castro <alex at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #78394|0                           |1
        is obsolete|                            |
  Attachment #78395|                            |review?
               Flag|                            |




--- Comment #12 from Alejandro G. Castro <alex at igalia.com>  2011-01-10 06:06:23 PST ---
Created an attachment (id=78395)
 --> (https://bugs.webkit.org/attachment.cgi?id=78395&action=review)
Proposed patch

I've added a check for the case where the end angle is in the opposite direction of the requested angle, we can not do this in that situation and cairo is already painting a small angle because it increases or decreases the start angle progressively by 2*PI until it is bigger than end angle.

Replaced sa and ea with startAngle and endAngle as suggested.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list