INACTIVE - Branch of Google's Skia modified for interoperability with Mozilla Firefox
Перейти к файлу
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
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Revert "Revert "Use hairline when line width <= 1.0, instead of < 1.0."" 2010-04-27 15:47:34 +00:00
experimental convert matrix <--> matrix44 2010-03-01 14:54:05 +00:00
forth more unittests (already found/fixed some bugs) 2009-09-02 02:07:32 +00:00
gm dump message confirming read or write directory 2010-12-14 17:46:14 +00:00
include Fix perf regression in Color32. 2010-12-16 19:07:45 +00:00
samplecode fix matrix use in coretext fonthost 2010-07-22 18:27:53 +00:00
src Fix perf regression in Color32. 2010-12-16 19:07:45 +00:00
tests Upstream mulDiv255Ceil() from WebKit to the skia repository. 2010-12-07 21:07:56 +00:00
third_party/harfbuzz add 2010-04-08 18:48:12 +00:00
tools add png to makefile for linux 2010-04-15 14:28:24 +00:00
vs add new file 2009-12-21 18:34:13 +00:00
xcode Refactor SkCanvas so that backends don't need to override it. 2010-10-13 22:13:05 +00:00
Makefile Fix perf regression in Color32. 2010-12-16 19:07:45 +00:00
Makefile.am Initial automake and autoconf files to build core into libskia.a. 2009-01-06 17:03:16 +00:00
README Add a basic README file. 2009-01-13 22:01:54 +00:00
configure.ac Initial automake and autoconf files to build core into libskia.a. 2009-01-06 17:03:16 +00:00

README

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

- 3x3 matrices w/ perspective
- antialiasing, transparency, filters
- shaders, xfermodes, maskfilters, patheffects