skia2/include/effects
senorblanco@chromium.org 0a5c233e3b Implement bounds traversals for tile and matrix convolution filters.
Add a new GM that exercises tiled drawing all pixel-moving filters
(and some non-pixel-moving ones) and compares it against non-tiled
drawing of the same filters. Fixing this test revealed that tile and
matrix convolution filters had no onFilterBounds() traversals
(test-driven development FTW). Tile requires (conservatively) the
bounds to include the whole source rect, since it may end up in the
result. Matrix convolution requires the bounds to be offset by the
kernel size and target.

R=reed@google.com
BUG=skia:

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

git-svn-id: http://skia.googlecode.com/svn/trunk@14432 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-04-29 15:20:39 +00:00
..
Sk1DPathEffect.h Factory methods for heap-allocated SkPathEffect and SkXfermode objects. 2014-02-20 20:40:19 +00:00
Sk2DPathEffect.h Factory methods for heap-allocated SkPathEffect and SkXfermode objects. 2014-02-20 20:40:19 +00:00
SkAlphaThresholdFilter.h Add AlphaThreshold filter. 2014-01-06 23:41:14 +00:00
SkArithmeticMode.h Arithmetic mode now has the option of not validating the output color, which will allow multiple arithmetic operations to be done sequentially, without intermediate clamping. This is required for mimicking blink's current behavior. 2014-04-02 19:32:15 +00:00
SkAvoidXfermode.h Allow toString capability to be toggled independent of developer mode. 2014-03-13 18:02:17 +00:00
SkBicubicImageFilter.h Implement support for a Context parameter in image filters 2014-03-14 15:44:01 +00:00
SkBitmapSource.h Implement support for a Context parameter in image filters 2014-03-14 15:44:01 +00:00
SkBlurDrawLooper.h add asAShadowBlur for android to drawlooper 2014-04-29 15:20:16 +00:00
SkBlurImageFilter.h Implement support for a Context parameter in image filters 2014-03-14 15:44:01 +00:00
SkBlurMaskFilter.h move common blur types into central header 2014-04-28 16:25:35 +00:00
SkColorFilterImageFilter.h Implement support for a Context parameter in image filters 2014-03-14 15:44:01 +00:00
SkColorMatrix.h Revert of Revert "Serialization of SkPictureImageFilter" (https://codereview.chromium.org/153583007/) 2014-02-07 12:20:04 +00:00
SkColorMatrixFilter.h Allow toString capability to be toggled independent of developer mode. 2014-03-13 18:02:17 +00:00
SkComposeImageFilter.h Implement support for a Context parameter in image filters 2014-03-14 15:44:01 +00:00
SkCornerPathEffect.h Factory methods for heap-allocated SkPathEffect and SkXfermode objects. 2014-02-20 20:40:19 +00:00
SkDashPathEffect.h Add asADash entry point into SkPathEffect to allow extracting Dash info from PathEffects 2014-04-22 15:21:18 +00:00
SkDiscretePathEffect.h Factory methods for heap-allocated SkPathEffect and SkXfermode objects. 2014-02-20 20:40:19 +00:00
SkDisplacementMapEffect.h Implement support for a Context parameter in image filters 2014-03-14 15:44:01 +00:00
SkDrawExtraPathEffect.h Export effects classes with SK_API. 2012-10-12 14:41:39 +00:00
SkDropShadowImageFilter.h Implement support for a Context parameter in image filters 2014-03-14 15:44:01 +00:00
SkEmbossMaskFilter.h add asAShadowBlur for android to drawlooper 2014-04-29 15:20:16 +00:00
SkGradientShader.h Move SkShader::fLocalMatrix into SkShader constructor. 2014-04-28 14:55:39 +00:00
SkKernel33MaskFilter.h Allow toString capability to be toggled independent of developer mode. 2014-03-13 18:02:17 +00:00
SkLayerDrawLooper.h add asAShadowBlur for android to drawlooper 2014-04-29 15:20:16 +00:00
SkLayerRasterizer.h Create SkLayerRasterizer w/o destroying Builder. 2014-04-10 20:42:53 +00:00
SkLerpXfermode.h Allow toString capability to be toggled independent of developer mode. 2014-03-13 18:02:17 +00:00
SkLightingImageFilter.h Refactor read and write buffers. 2014-01-30 18:58:24 +00:00
SkLumaColorFilter.h Allow toString capability to be toggled independent of developer mode. 2014-03-13 18:02:17 +00:00
SkMagnifierImageFilter.h Implement support for a Context parameter in image filters 2014-03-14 15:44:01 +00:00
SkMatrixConvolutionImageFilter.h Implement bounds traversals for tile and matrix convolution filters. 2014-04-29 15:20:39 +00:00
SkMatrixImageFilter.h Implement a generic matrix transform image filter. 2014-03-25 17:35:10 +00:00
SkMergeImageFilter.h Implement support for a Context parameter in image filters 2014-03-14 15:44:01 +00:00
SkMorphologyImageFilter.h Implement support for a Context parameter in image filters 2014-03-14 15:44:01 +00:00
SkOffsetImageFilter.h Implement support for a Context parameter in image filters 2014-03-14 15:44:01 +00:00
SkPaintFlagsDrawFilter.h change SkDrawFilter::filter to return a bool, where false means don't-draw 2012-11-26 20:26:54 +00:00
SkPerlinNoiseShader.h Revert of Revert of Extract most of the mutable state of SkShader into a separate Context object. (https://codereview.chromium.org/249643002/) 2014-04-23 19:10:51 +00:00
SkPictureImageFilter.h Implement support for a Context parameter in image filters 2014-03-14 15:44:01 +00:00
SkPixelXorXfermode.h Allow toString capability to be toggled independent of developer mode. 2014-03-13 18:02:17 +00:00
SkPorterDuff.h Revert "Revert "add SK_ATTR_DEPRECATED -- will need to disable for chrome, since it triggers a warning"" 2013-10-31 17:28:30 +00:00
SkRectShaderImageFilter.h Implement support for a Context parameter in image filters 2014-03-14 15:44:01 +00:00
SkStippleMaskFilter.h Allow toString capability to be toggled independent of developer mode. 2014-03-13 18:02:17 +00:00
SkTableColorFilter.h 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
SkTableMaskFilter.h Allow toString capability to be toggled independent of developer mode. 2014-03-13 18:02:17 +00:00
SkTestImageFilters.h Implement support for a Context parameter in image filters 2014-03-14 15:44:01 +00:00
SkTileImageFilter.h Implement bounds traversals for tile and matrix convolution filters. 2014-04-29 15:20:39 +00:00
SkTransparentShader.h Revert of Revert of Extract most of the mutable state of SkShader into a separate Context object. (https://codereview.chromium.org/249643002/) 2014-04-23 19:10:51 +00:00
SkXfermodeImageFilter.h Fix SkXfermodeImageFilter when an input is cropped out. 2014-04-01 19:15:23 +00:00