Bug 23110

Summary: Optimize rgb() and rgba() color parsing in Canvas
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Oliver Hunt <oliver>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: emacemac7, senorblanco
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
URL: http://www.bel.fi/~alankila/plasma.html
Bug Depends on: 35362    
Bug Blocks:    

Simon Fraser (smfr)
Reported 2009-01-04 17:02:51 PST
We know from various canvas tests that parsing rgb() and rgba() colors, which goes through the CSS parser, is rather slow. We should write some code to parse these colors in a more optimal way.
Attachments
Stephen White
Comment 1 2010-02-24 17:22:44 PST
I've submitted a patch at https://bugs.webkit.org/show_bug.cgi?id=35362 for the rgb() part of this. If you'd take a look and tell me if I'm headed in the right direction, I'd appreciate it. Thanks!
Simon Fraser (smfr)
Comment 2 2010-02-24 17:31:44 PST
Bug has a patch. *** This bug has been marked as a duplicate of bug 35362 ***
Note You need to log in before you can comment on or make changes to this bug.