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: http://svn.webkit.org/repository/webkit/trunk@39526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 2a1ac72..a046ead 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,20 @@
+2008-12-31 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Cameron Zwarich.
+
+ More work on Bug 3781: Animation via canvas could be faster
+ <https://bugs.webkit.org/show_bug.cgi?id=3781>
+
+ 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%
+
+ * html/CanvasStyle.cpp:
+ (WebCore::CanvasStyle::applyStrokeColor):
+ (WebCore::CanvasStyle::applyFillColor):
+
2008-12-30 Simon Fraser <simon.fraser@apple.com>
Reviewed by Darin Adler