[Webkit-unassigned] [Bug 43718] New: Canvas: Fast-path for setting the already set color with setStrokeColor() and setFillColor()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 9 05:01:19 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=43718
Summary: Canvas: Fast-path for setting the already set color
with setStrokeColor() and setFillColor()
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
Some JS demos, for example "Monster" at Chrome Experiments, use the WebKit-specific color setters of CanvasRenderingContext2D.
For this particular demo, roughly 5% of the calls to setFillColor() have the same color as is already set on the context. We should detect this and make an early return before creating any CanvasStyle objects (or calling into GraphicsContext.)
--
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