[Webkit-unassigned] [Bug 42267] New: Canvas: Make assigning the same fillStyle or strokeStyle a fast no-op

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 14 09:05:35 PDT 2010


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

           Summary: Canvas: Make assigning the same fillStyle or
                    strokeStyle a fast no-op
           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


Right now we always call into the GraphicsContext which is a fairly expensive operation (at least for Qt.)
This can easily be avoided for cases where you set the fillStyle or strokeStyle to the same value it already is.

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