skia2/include/effects
Brian Osman d7e7659cad Move GrShaderCaps from Program::Settings to Compiler
This ties the caps to the compiler instance, paving the way for
pre-optimizing the shared code. Most of the time, the compiler is
created and owned the GPU instance, so this is fine. For runtime
effects, we now use the shared (device-agnostic) compiler instance
for the first compile, even on GPU. It's configured with caps that
apply no workarounds. We pass the user's SkSL to the backend as
cleanly as possible, and then apply any workarounds once it's part
of the full program.

Bug: skia:10905
Bug: skia:10868
Change-Id: Ifcf8d7ebda5d43ad8e180f06700a261811da83de
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/331493
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2020-11-04 19:38:33 +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 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 Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +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 Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
SkDashPathEffect.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkDiscretePathEffect.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +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 Add fiddle example for MakeLinear 2020-03-18 17:53:11 +00:00
SkHighContrastFilter.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkImageFilters.h Add SkImageFilters::Blend rename for Xfermode filter 2020-10-13 14:28:26 +00:00
SkImageSource.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkLayerDrawLooper.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
SkLightingImageFilter.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00
SkLumaColorFilter.h Move impl into SkColorFilterBase 2020-06-25 00:26: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 Take MorphologyImageFilter radii as SkScalar. 2020-04-09 18:27:17 +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 change Overdraw colorfilter to be pure sksl 2020-04-16 19:15:01 +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 Move GrShaderCaps from Program::Settings to Compiler 2020-11-04 19:38:33 +00:00
SkShaderMaskFilter.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkStrokeAndFillPathEffect.h add new patheffect for stroke-and-fill 2020-05-20 15:01:26 +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 [SkTrimPathEffect] Preserve wrap-around continuity 2020-04-07 14:40:17 +00:00
SkXfermodeImageFilter.h Add new SkImageFilters factory API 2019-08-02 13:33:35 +00:00