skia2/include/effects
djsollen@google.com 54924243c1 Cleanup code related to SkFlattenable::flatten()
The following changes were made by this CL:

1. Make flatten() a protected method as callers should use
   SkFlattenableWriteBuffer to flatten an object
2. Make flatten a const method (including subclasses)
3. Mark subclass implementation of flatten with SK_OVERRIDE
4. Ensure overridden flatten impls call their parent
5. Remove no-op implementations of flatten from subclasses

Additionally, if necessary the unflattening constructor was
also moved to the protected section of the subclasses
header if it was not already there.

git-svn-id: http://skia.googlecode.com/svn/trunk@3540 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-29 15:18:04 +00:00
..
Sk1DPathEffect.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
Sk2DPathEffect.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkArithmeticMode.h add first cut at arithmetic mode 2011-12-10 19:36:56 +00:00
SkAvoidXfermode.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkBlurDrawLooper.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkBlurImageFilter.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkBlurMaskFilter.h Cleanup Macros arround static initializers for SkFlattenable. 2012-03-23 19:00:34 +00:00
SkColorMatrix.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkColorMatrixFilter.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkCornerPathEffect.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkDashPathEffect.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkDiscretePathEffect.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkDrawExtraPathEffect.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkEmbossMaskFilter.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkGradientShader.h Cleanup Macros arround static initializers for SkFlattenable. 2012-03-23 19:00:34 +00:00
SkGroupShape.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkKernel33MaskFilter.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkLayerDrawLooper.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkLayerRasterizer.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkMorphologyImageFilter.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkPaintFlagsDrawFilter.h Fix a bunch of Coverity defects - class members not initialized in the constructor. 2012-03-28 20:29:38 +00:00
SkPixelXorXfermode.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkPorterDuff.h Update files to use SK_BUILD_FOR_ANDROID. 2011-11-08 19:00:26 +00:00
SkRectShape.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkTableColorFilter.h Cleanup Macros arround static initializers for SkFlattenable. 2012-03-23 19:00:34 +00:00
SkTableMaskFilter.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkTestImageFilters.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkTransparentShader.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00