[Webkit-unassigned] [Bug 42272] New: Canvas: Fast-path for assigning the same color string as before to fillStyle or strokeStyle

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 14 11:01:00 PDT 2010


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

           Summary: Canvas: Fast-path for assigning the same color string
                    as before to fillStyle or strokeStyle
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: Performance
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: andreas.kling at nokia.com
                CC: oliver at apple.com


When assigning a color string to fillStyle or strokeStyle, we take a detour via a CanvasStyle object.

We could add an early return fast-path when assigning the same string as before that does the check without creating a CanvasStyle object.

-- 
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