skia2/gyp
senorblanco@chromium.org 194d775edc This patch implements a crop rect for SkImageFilter. It has been implemented for SkColorFilterImageFilter and SkBlurImageFilter as examples.
In order to preserve the immutability of SkImageFilters, the crop rect is passed as a constructor parameter. If NULL (the default), the bounds of the input image are used, as before.

This also tightens up the boundary handling for SkImageBlurFilter on the GPU backend. Where we were previously using clamping semantics, we now respect decal semantics (so we don't oversaturate the edges). This brings the GPU and raster backends into closer alignment, but will require some new baselines for the GPU tests.

At a minimum, the following tests will need new baselines: imageblur, imagefiltersbase, imagefilterscropped, spritebitmap.

R=reed@google.com

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

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

git-svn-id: http://skia.googlecode.com/svn/trunk@10338 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-24 22:19:24 +00:00
..
android_deps.gyp Update DEPS and GYP to use the copy of Android in platform_tools. 2013-05-02 12:27:21 +00:00
android_system.gyp Update DEPS and GYP to use the copy of Android in platform_tools. 2013-05-02 12:27:21 +00:00
angle.gyp Refactor skia_warnings_as_errors 2013-03-22 13:16:06 +00:00
animator.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
apptype_console.gypi Improve NaCl support 2012-11-01 17:43:44 +00:00
bench.gyp refactor duplication (shouldSkip and skip_name) into a utility function 2013-07-24 17:24:23 +00:00
bench.gypi add scaledimagecache 2013-07-23 19:13:54 +00:00
chromeos_deps.gyp GYP Changes and Scripts for Compiling Skia for ChromeOS 2013-06-11 15:52:19 +00:00
cityhash.gyp Re-land r9059 with empty cityhash.gyp, instead of deleted cityhash.gyp 2013-05-08 16:04:02 +00:00
common_conditions.gypi all in the gyp 2013-07-24 16:20:05 +00:00
common_variables.gypi make OpenCL optional for skpdiff 2013-07-17 19:29:19 +00:00
common.gypi Use a single cros_toolchain tarball for ChromeOS build 2013-06-24 19:31:58 +00:00
core.gyp refactor gyp to isolate freetype usage 2013-07-22 14:12:56 +00:00
core.gypi add scaledimagecache 2013-07-23 19:13:54 +00:00
debugger.gyp Build fix after r9598. 2013-06-13 21:25:45 +00:00
effects.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
effects.gypi Move gaussianBlur functionality to src\effects 2013-07-15 15:06:54 +00:00
everything.gyp Gyp changes for NaCl debugger 2013-03-07 15:33:28 +00:00
experimental.gyp SkiaExamples improvements. 2013-07-24 17:48:03 +00:00
FileReaderApp.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
flags.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
freetype.gyp Update freetype to version 2.5.0.1 when building it from source. 2013-07-23 15:51:12 +00:00
gm.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
gmslides.gypi This patch implements a crop rect for SkImageFilter. It has been implemented for SkColorFilterImageFilter and SkBlurImageFilter as examples. 2013-07-24 22:19:24 +00:00
gpu.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
gpu.gypi Make GrPaint have a variable sized array of color and coverage stages rather than a fixed size. 2013-07-13 17:24:24 +00:00
images.gyp Update freetype to version 2.5.0.1 when building it from source. 2013-07-23 15:51:12 +00:00
jsoncpp.gyp Refactor skia_warnings_as_errors 2013-03-22 13:16:06 +00:00
libjpeg.gyp Sanitizing source files in Housekeeper-Nightly 2013-06-11 07:01:17 +00:00
libwebp.gyp Add 2 missing neon files for the android build 2013-06-10 16:50:18 +00:00
lua.gyp use define to work-around localeconf() missingness in android 2013-05-15 20:55:49 +00:00
most.gyp Compile pdf viewer manaully only, disable on build bots. 2013-06-10 21:10:50 +00:00
nacl.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
opts.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
pathops_unittest.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
pathops_unittest.gypi path ops -- fix skp bugs 2013-05-07 18:51:31 +00:00
pathops.gypi remove deleted file from gyp 2013-04-22 20:09:23 +00:00
pdf.gyp Fix Clang build on SkPDFResourceDict (CL 18977002) 2013-07-23 21:49:29 +00:00
pdfviewer.gyp pdfviewer: path for outputs are relative to some other folder, make them absolute. 2013-07-24 17:32:30 +00:00
pixman_test.gyp GYP Changes and Scripts for Compiling Skia for ChromeOS 2013-06-11 15:52:19 +00:00
ports.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
SampleApp.gyp remove dead SampleDecode.cpp 2013-07-23 16:20:28 +00:00
sfnt.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
shapeops_demo.gyp GYP Changes and Scripts for Compiling Skia for ChromeOS 2013-06-11 15:52:19 +00:00
shapeops_edge.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
shapeops_tool.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
SimpleCocoaApp.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
SimpleiOSApp.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
skia_lib.gyp refactor gyp to isolate freetype usage 2013-07-22 14:12:56 +00:00
svg.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
tests.gyp This patch implements a crop rect for SkImageFilter. It has been implemented for SkColorFilterImageFilter and SkBlurImageFilter as examples. 2013-07-24 22:19:24 +00:00
tools.gyp move skpdiff into tools 2013-07-22 18:46:45 +00:00
utils.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
views_animated.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
views.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
xml.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00
xps.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
zlib.gyp Update obvious deps. 2013-07-22 14:39:45 +00:00