skia2/include/effects
rs.prinja 39e58adb99 Randomize seed for SkDiscretePathEffect::filterPath()
Fix for https://code.google.com/p/skia/issues/detail?id=2581. Randomizes
the seed in SkDiscretePathEffect::filterPath(). Prior to this we were
using the path length as a seed.

Now, if we have two different paths with identical contents and we
apply an SkDiscretePathEffect to each, we obtain two different random
paths. Previously, we would obtain two overlapping paths (identical
path contents leading to the same seed).

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

Author: rs.prinja@samsung.com

Review URL: https://codereview.chromium.org/311803002
2014-06-12 22:55:08 -07:00
..
Sk1DPathEffect.h Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +00:00
Sk2DPathEffect.h Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +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 Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +00:00
SkBicubicImageFilter.h Implement support for a Context parameter in image filters 2014-03-14 15:44:01 +00:00
SkBitmapSource.h Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +00:00
SkBlurDrawLooper.h Remove legacy constructor for blur draw looper. 2014-05-20 14:53:32 +00:00
SkBlurImageFilter.h Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +00:00
SkBlurMaskFilter.h remove SK_SUPPORT_LEGACY_BLURMASKFILTER_STYLE 2014-05-31 21:47:03 +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 Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +00:00
SkComposeImageFilter.h Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +00:00
SkCornerPathEffect.h Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +00:00
SkDashPathEffect.h Move Dashing filterPath to a dashing utils file 2014-06-11 06:51:51 -07:00
SkDiscretePathEffect.h Randomize seed for SkDiscretePathEffect::filterPath() 2014-06-12 22:55:08 -07:00
SkDisplacementMapEffect.h Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +00:00
SkDrawExtraPathEffect.h Export effects classes with SK_API. 2012-10-12 14:41:39 +00:00
SkDropShadowImageFilter.h Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +00:00
SkEmbossMaskFilter.h Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +00:00
SkGradientShader.h Sanitizing source files in Housekeeper-Nightly 2014-05-23 03:03:34 +00:00
SkLayerDrawLooper.h add asAShadowBlur for android to drawlooper 2014-04-29 15:20:16 +00:00
SkLayerRasterizer.h Return NULL when building empty LayerRasterizer. 2014-06-03 13:12:51 -07: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 Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +00:00
SkMatrixConvolutionImageFilter.h Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +00:00
SkMatrixImageFilter.h Implement a generic matrix transform image filter. 2014-03-25 17:35:10 +00:00
SkMergeImageFilter.h Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +00:00
SkMorphologyImageFilter.h Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +00:00
SkOffsetImageFilter.h Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +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 SkShader::asNewEffect Refactoring 2014-06-10 14:38:28 -07:00
SkPictureImageFilter.h Implement SkPictureImageFilter bounds computation. 2014-05-30 20:36:15 +00:00
SkPixelXorXfermode.h Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +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 Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +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 Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +00:00
SkTestImageFilters.h Implement support for a Context parameter in image filters 2014-03-14 15:44:01 +00:00
SkTileImageFilter.h Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +00:00
SkTransparentShader.h Remove SkShader virtual method validContext 2014-05-05 18:39:18 +00:00
SkXfermodeImageFilter.h Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. 2014-05-15 15:40:41 +00:00