a2c40206c6
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> |
||
---|---|---|
.. | ||
Sk1DPathEffect.h | ||
Sk2DPathEffect.h | ||
SkAlphaThresholdFilter.h | ||
SkArithmeticImageFilter.h | ||
SkBlurDrawLooper.h | ||
SkBlurImageFilter.h | ||
SkBlurMaskFilter.h | ||
SkColorFilterImageFilter.h | ||
SkColorMatrix.h | ||
SkColorMatrixFilter.h | ||
SkComposeImageFilter.h | ||
SkCornerPathEffect.h | ||
SkDashPathEffect.h | ||
SkDiscretePathEffect.h | ||
SkDisplacementMapEffect.h | ||
SkDropShadowImageFilter.h | ||
SkGradientShader.h | ||
SkHighContrastFilter.h | ||
SkImageFilters.h | ||
SkImageSource.h | ||
SkLayerDrawLooper.h | ||
SkLightingImageFilter.h | ||
SkLumaColorFilter.h | ||
SkMagnifierImageFilter.h | ||
SkMatrixConvolutionImageFilter.h | ||
SkMergeImageFilter.h | ||
SkMorphologyImageFilter.h | ||
SkOffsetImageFilter.h | ||
SkOpPathEffect.h | ||
SkOverdrawColorFilter.h | ||
SkPaintImageFilter.h | ||
SkPerlinNoiseShader.h | ||
SkPictureImageFilter.h | ||
SkRuntimeEffect.h | ||
SkShaderMaskFilter.h | ||
SkStrokeAndFillPathEffect.h | ||
SkTableColorFilter.h | ||
SkTableMaskFilter.h | ||
SkTileImageFilter.h | ||
SkTrimPathEffect.h | ||
SkXfermodeImageFilter.h |