7d0f853158
SkImageFilters::Paint did not use every slot of the SkPaint, with only its color, alpha, color filter, and shader having a meaningful effect on the image filter result. It was always blended into a transparent dst, so blend mode wasn't very relevant, and it was always filled to whatever required geometry, so stroke style, path effect, and mask filters were ignored or not well specified. Color, alpha, and color filter can all be combined into an SkShader, so a more constrained SkImageFilters::Shader provides the same useful capabilities without as many surprises. SkImageFilters::Paint still exists, but is deprecated to be removed once I've confirmed clients aren't depending on it. Bug: skia:9310 Change-Id: I11a82bda1a5d440726cf4e2b5bfaae4929568679 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/323680 Reviewed-by: Kevin Lubick <kjlubick@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 |