The image resampling code has been transplanted from Chrome; it's incredibly fast.
authorhumper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 19 Jul 2013 20:20:04 +0000 (20:20 +0000)
committerhumper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 19 Jul 2013 20:20:04 +0000 (20:20 +0000)
commit138ebc3e4061cf533ea2f7f3717239670fdc6e43
treea9bbf3d68a36e5938b5a41df954ad0471b2e20e2
parentd322cf4939872bbff063468d7357c76eb6250d0f
The image resampling code has been transplanted from Chrome; it's incredibly fast.

We've tested this CL plumbed into Chrome and done benchmarking with excellent results.

This CL can land independent of any Chrome changes; it's completely internal to skia.

BUG=
R=reed@google.com

Review URL: https://codereview.chromium.org/19335002

git-svn-id: http://skia.googlecode.com/svn/trunk@10206 2bbb7eff-a529-9590-31e7-b0007b416f81
15 files changed:
gm/downsamplebitmap.cpp
gyp/core.gypi
include/core/SkBitmap.h
src/core/SkBitmapFilter.cpp
src/core/SkBitmapFilter.h
src/core/SkBitmapProcState.cpp
src/core/SkBitmapProcState.h
src/core/SkBitmapScaler.cpp [new file with mode: 0644]
src/core/SkBitmapScaler.h [new file with mode: 0644]
src/core/SkConvolver.cpp [new file with mode: 0644]
src/core/SkConvolver.h [new file with mode: 0644]
src/opts/SkBitmapFilter_opts_SSE2.cpp
src/opts/SkBitmapFilter_opts_SSE2.h
src/opts/SkBitmapProcState_opts_none.cpp
src/opts/opts_check_SSE2.cpp