skia2/include/effects
commit-bot@chromium.org 727a352f74 Factory methods for heap-allocated SkColorFilter objects.
This is part of an effort to ensure that all SkPaint effects can only be
allocated on the heap.

This patch makes the constructors of SkColorFilter and its subclasses non-public
and instead provides factory methods for creating these objects on the heap. We
temporarily keep constructor of publicly visible classes public behind a flag.

BUG=skia:2187
R=scroggo@google.com, mtklein@google.com, reed@google.com

Author: dominikg@chromium.org

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

git-svn-id: http://skia.googlecode.com/svn/trunk@13539 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-02-21 18:46:30 +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 Initial error handling code 2013-10-23 17:06:21 +00:00
SkAvoidXfermode.h Factory methods for heap-allocated SkPathEffect and SkXfermode objects. 2014-02-20 20:40:19 +00:00
SkBicubicImageFilter.h Make SkImageFilter methods const. 2014-02-05 22:32:02 +00:00
SkBitmapSource.h Make SkImageFilter methods const. 2014-02-05 22:32:02 +00:00
SkBlurDrawLooper.h Refactor read and write buffers. 2014-01-30 18:58:24 +00:00
SkBlurImageFilter.h Make SkImageFilter methods const. 2014-02-05 22:32:02 +00:00
SkBlurMaskFilter.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
SkColorFilterImageFilter.h Make SkImageFilter methods const. 2014-02-05 22:32:02 +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 Factory methods for heap-allocated SkColorFilter objects. 2014-02-21 18:46:30 +00:00
SkComposeImageFilter.h Make SkImageFilter methods const. 2014-02-05 22:32:02 +00:00
SkCornerPathEffect.h Factory methods for heap-allocated SkPathEffect and SkXfermode objects. 2014-02-20 20:40:19 +00:00
SkDashPathEffect.h Factory methods for heap-allocated SkPathEffect and SkXfermode objects. 2014-02-20 20:40:19 +00:00
SkDiscretePathEffect.h Factory methods for heap-allocated SkPathEffect and SkXfermode objects. 2014-02-20 20:40:19 +00:00
SkDisplacementMapEffect.h Make SkImageFilter methods const. 2014-02-05 22:32:02 +00:00
SkDrawExtraPathEffect.h Export effects classes with SK_API. 2012-10-12 14:41:39 +00:00
SkDropShadowImageFilter.h Make SkImageFilter methods const. 2014-02-05 22:32:02 +00:00
SkEmbossMaskFilter.h Factory methods for heap-allocated SkMaskFilter objects. 2014-02-21 10:13:32 +00:00
SkGradientShader.h Add flag to gradients to interpolate colors in premul space. Experimental API to encapsulate the shared parameters for all gradients into a struct. 2013-05-24 14:58:44 +00:00
SkKernel33MaskFilter.h Factory methods for heap-allocated SkMaskFilter objects. 2014-02-21 10:13:32 +00:00
SkLayerDrawLooper.h Builder class for SkLayerDrawLooper. 2014-02-14 10:06:42 +00:00
SkLayerRasterizer.h Refactor read and write buffers. 2014-01-30 18:58:24 +00:00
SkLerpXfermode.h Refactor read and write buffers. 2014-01-30 18:58:24 +00:00
SkLightingImageFilter.h Refactor read and write buffers. 2014-01-30 18:58:24 +00:00
SkLumaColorFilter.h Refactor read and write buffers. 2014-01-30 18:58:24 +00:00
SkMagnifierImageFilter.h Make SkImageFilter methods const. 2014-02-05 22:32:02 +00:00
SkMatrixConvolutionImageFilter.h Make SkImageFilter methods const. 2014-02-05 22:32:02 +00:00
SkMergeImageFilter.h Make SkImageFilter methods const. 2014-02-05 22:32:02 +00:00
SkMorphologyImageFilter.h Make SkImageFilter methods const. 2014-02-05 22:32:02 +00:00
SkOffsetImageFilter.h Make SkImageFilter methods const. 2014-02-05 22:32:02 +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 Refactor read and write buffers. 2014-01-30 18:58:24 +00:00
SkPictureImageFilter.h Revert of Revert "Serialization of SkPictureImageFilter" (https://codereview.chromium.org/153583007/) 2014-02-07 12:20:04 +00:00
SkPixelXorXfermode.h Factory methods for heap-allocated SkPathEffect and SkXfermode objects. 2014-02-20 20:40:19 +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 Make SkImageFilter methods const. 2014-02-05 22:32:02 +00:00
SkResizeImageFilter.h Fix CTM application in SkResizeImagefilter; implement bounds traversals. 2014-02-19 22:10:12 +00:00
SkStippleMaskFilter.h Factory methods for heap-allocated SkMaskFilter objects. 2014-02-21 10:13:32 +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 Factory methods for heap-allocated SkMaskFilter objects. 2014-02-21 10:13:32 +00:00
SkTestImageFilters.h Make SkImageFilter methods const. 2014-02-05 22:32:02 +00:00
SkTileImageFilter.h Make SkImageFilter methods const. 2014-02-05 22:32:02 +00:00
SkTransparentShader.h Refactor read and write buffers. 2014-01-30 18:58:24 +00:00
SkXfermodeImageFilter.h Make SkImageFilter methods const. 2014-02-05 22:32:02 +00:00