skia2/include
senorblanco@chromium.org 3f2d45aff6 (Relanding r7275 with assert fix, plus fixes from r7276, r7280, r7283.)
Implement a bicubic resampling image filter, with raster and GPU backends.
In order to get this to work on the GPU side, I had to modify the width and height of the drawn texture in drawSprite() and drawDevice() to use the filtered texture's dimensions, instead of the source texture.  (This wasn't a problem before since all other image filters produce results the same dimensions as their input texture.)
For now, this implementation only does axis-aligned scaling (same as the Lanczos-3 implementation in Chrome).  It's also done for correctness and clarity, not speed, so there are lots of opportunities for speedups.

Committed: https://code.google.com/p/skia/source/detail?r=7275

Review URL: https://codereview.appspot.com/7033049

git-svn-id: http://skia.googlecode.com/svn/trunk@7287 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-18 20:48:20 +00:00
..
animator Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
config Re-enable inst counting in debug builds. 2013-01-15 20:37:04 +00:00
core Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-17 07:06:06 +00:00
device/xps Formatting cleanup: remove extra whitespace 2012-01-28 01:45:11 +00:00
effects (Relanding r7275 with assert fix, plus fixes from r7276, r7280, r7283.) 2013-01-18 20:48:20 +00:00
gpu Remove default implementation of GrEffect::isEqual. Make GrSingleTextureEffect abstract. 2013-01-17 16:50:08 +00:00
images kill unused SkFlipPixelRef 2012-12-13 16:35:37 +00:00
pdf remove use of SkRefPtr in public header (SkPDFDocument.h) 2012-09-20 18:19:26 +00:00
pipe Adding a silent playback option to SkGPipeRead 2012-09-20 19:35:43 +00:00
ports Disable automatic font fallback of SkFontHost_android when building for WebKit 2012-10-09 19:26:59 +00:00
svg Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
text Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
utils Revert r7241, which broke tests on most platforms. 2013-01-17 13:29:35 +00:00
views fix iOS build after adding modifierKeys to click events 2013-01-09 16:36:30 +00:00
xml Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00