skia2/include/effects
Brian Osman 6fa47769cb In SkRuntimeEffect, use a single shared Compiler instance
I've been increasingly concerned about the CPU and memory costs of
creating and holding on to many Compiler instances. Given that they're
use infrequently, having a shared (guarded) instance seems fine.

We can still look at reducing the startup cost of a single instance, but
this removes a large blocker to wider usage of SkRuntimeEffect.

Change-Id: Ia6dc721c73fdf8c9c4c7a8c1af5f350d2c028b22
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/272466
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2020-02-21 20:25:04 +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 comment explaining memset in ArithmeticFPInputs 2020-02-05 20:03:28 +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 SkColorMatrix cleanup 2019-11-04 15:20:15 +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 Fix GMs broken during API porting 2019-08-05 14:53:45 +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 Rename GrColorSpaceInfo -> GrColorInfo 2019-09-30 21:53:24 +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 remove legacy factory for overdrawcolorfilter 2020-02-15 16:53:39 +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
SkRuntimeEffect.h In SkRuntimeEffect, use a single shared Compiler instance 2020-02-21 20:25:04 +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