skia2/include/effects
Michael Ludwig a2c40206c6 Preserve dithering for SkImageFilters::Shader
Migrating chromium code to use SkImageFilters::Shader over
SkPaintImageFilter requires dithering to be preserved for its gradient
fills.

I debated always forcing it to true, but dithering was never turned on
for the turbulence filter and it's not necessary for const color shaders
Given that, I opted to just make it a parameter to the filter factory,
which seems okay since we're unlikely to embed dithering into SkShader
itself, it's a shading-related parameter of SkPaint, and if we migrate
to always dithering, then we can remove it.

Bug: skia:9310
Change-Id: I86f14969e2446f3a84e71e687cb263bcd44cf9d9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/338156
Auto-Submit: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2020-11-25 19:41:37 +00:00
..
Sk1DPathEffect.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
Sk2DPathEffect.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
SkAlphaThresholdFilter.h
SkArithmeticImageFilter.h Add comment explaining memset in ArithmeticFPInputs 2020-02-05 20:03:28 +00:00
SkBlurDrawLooper.h Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
SkBlurImageFilter.h
SkBlurMaskFilter.h
SkColorFilterImageFilter.h
SkColorMatrix.h
SkColorMatrixFilter.h
SkComposeImageFilter.h
SkCornerPathEffect.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
SkDashPathEffect.h
SkDiscretePathEffect.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
SkDisplacementMapEffect.h
SkDropShadowImageFilter.h
SkGradientShader.h Add fiddle example for MakeLinear 2020-03-18 17:53:11 +00:00
SkHighContrastFilter.h
SkImageFilters.h Preserve dithering for SkImageFilters::Shader 2020-11-25 19:41:37 +00:00
SkImageSource.h
SkLayerDrawLooper.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
SkLightingImageFilter.h
SkLumaColorFilter.h Move impl into SkColorFilterBase 2020-06-25 00:26:11 +00:00
SkMagnifierImageFilter.h
SkMatrixConvolutionImageFilter.h
SkMergeImageFilter.h
SkMorphologyImageFilter.h Take MorphologyImageFilter radii as SkScalar. 2020-04-09 18:27:17 +00:00
SkOffsetImageFilter.h
SkOpPathEffect.h
SkOverdrawColorFilter.h change Overdraw colorfilter to be pure sksl 2020-04-16 19:15:01 +00:00
SkPaintImageFilter.h
SkPerlinNoiseShader.h
SkPictureImageFilter.h
SkRuntimeEffect.h Move GrShaderCaps from Program::Settings to Compiler 2020-11-04 19:38:33 +00:00
SkShaderMaskFilter.h
SkStrokeAndFillPathEffect.h add new patheffect for stroke-and-fill 2020-05-20 15:01:26 +00:00
SkTableColorFilter.h
SkTableMaskFilter.h
SkTileImageFilter.h
SkTrimPathEffect.h [SkTrimPathEffect] Preserve wrap-around continuity 2020-04-07 14:40:17 +00:00
SkXfermodeImageFilter.h