skia2/include
senorblanco@chromium.org 29e5054dd0 Fix perf regression in Color32.
The regression was due to the fact that we were calling PlatformColorProc() for
every span (which in turns makes CPUID, a fairly expensive call).  Since we draw
a lot of rects, and rects have 1-pixel wide spans for the vertical segments,
that's a lot of CPUID.

Fixed by cacheing the result of PlatformColorProc(), as is done for the other
platform-specific blitters.

Review URL:  http://codereview.appspot.com/3669042/



git-svn-id: http://skia.googlecode.com/svn/trunk@636 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-12-16 19:07:45 +00:00
..
animator grab from latest android 2008-12-17 15:59:43 +00:00
config Add deflate support to SkPDFStream. 2010-12-01 22:17:20 +00:00
core Fix perf regression in Color32. 2010-12-16 19:07:45 +00:00
effects Patch by Mike Lawther (mikelawther@chromium.org). 2010-12-06 23:45:58 +00:00
images add optional pref-config table to codecs 2010-03-03 21:04:12 +00:00
pdf Add deflate support to SkPDFStream. 2010-12-01 22:17:20 +00:00
ports update save/restore comments to mention that the drawFilter is also saved 2010-02-11 16:05:15 +00:00
svg update to match latest skia apis 2010-05-17 14:34:13 +00:00
text experimental draft, please ignore 2010-02-11 13:56:04 +00:00
utils PDF: Add text support with a font framework (font embedding to come). 2010-11-11 21:37:00 +00:00
views update windows port 2009-12-18 21:33:39 +00:00
xml update windows port 2009-12-18 21:33:39 +00:00