skia2/include/effects
Michael Ludwig 06eacf44d5 Add new SkImageFilters factory API
In preparation for moving the filter-specific headers from include/effects and into src/effects/imagefilters, this exposes a more convenient API where all filters provided by Skia are accessible from the same factory.

It also only exposes the factories that take the shared enums (SkColorChannel, SkTileMode), so the per-filter enums can be phased out (SkBlurImageFilter::TileMode, etc.). It also accepts an SkIRect* instead of an SkImageFilter::CropRect* since all uses seem to be for integer rectangles and flags are either always on or always off. This will allow us to later remove the CropRect type.

Bug: skia:9280
Change-Id: I71f77ff44b573f87b837d6523b9eb565521f0f36
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/230876
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2019-08-02 13:33:35 +00:00
..
Sk1DPathEffect.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
Sk2DPathEffect.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkAlphaThresholdFilter.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkArithmeticImageFilter.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkBlurDrawLooper.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkBlurImageFilter.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkBlurMaskFilter.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkColorFilterImageFilter.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkColorMatrix.h skia helper for encoding video 2019-05-28 20:39:21 +00:00
SkColorMatrixFilter.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkComposeImageFilter.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkCornerPathEffect.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkDashPathEffect.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkDiscretePathEffect.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkDisplacementMapEffect.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkDropShadowImageFilter.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkGradientShader.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkHighContrastFilter.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkImageFilters.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkImageSource.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkLayerDrawLooper.h Return translate info from looper, rather than moding a canvas 2019-07-25 20:39:13 +00:00
SkLightingImageFilter.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkLumaColorFilter.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkMagnifierImageFilter.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkMatrixConvolutionImageFilter.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkMergeImageFilter.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkMorphologyImageFilter.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkOffsetImageFilter.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkOpPathEffect.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkOverdrawColorFilter.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkPaintImageFilter.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkPerlinNoiseShader.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkPictureImageFilter.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkShaderMaskFilter.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkTableColorFilter.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkTableMaskFilter.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkTileImageFilter.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkTrimPathEffect.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkXfermodeImageFilter.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00