More work on Bug 3781: Animation via canvas could be faster
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 31 Dec 2008 12:32:12 +0000 (12:32 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 31 Dec 2008 12:32:12 +0000 (12:32 +0000)
commit57803a1ac8f40f757c1bd430078b7c21afe1cf4d
treee7d90546686bc16241a7fdb770b4a0b2074e36c7
parent98bb86a9fcbea85c811cf6c7ae345629171919bd
More work on Bug 3781: Animation via canvas could be faster
<https://bugs.webkit.org/show_bug.cgi?id=3781>

Reviewed by Cameron Zwarich

Make use of the fast path parsing of color strings that Color
uses.  This improves performance of '#rgb', '#rrggbb', etc and
named (eg. 'green') colors.

Improves frame rate of test by around 40%

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@39526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/html/CanvasStyle.cpp