Bug 23110
Summary: | Optimize rgb() and rgba() color parsing in Canvas | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | Layout and Rendering | Assignee: | 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)
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Stephen White
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)
Bug has a patch.
*** This bug has been marked as a duplicate of bug 35362 ***