skia2/include/effects
Brian Osman c2d42fe243 Add #version directive to SkSL
ProgramSettings now has a fRequiredVersion, based on the #version
directive (if any). There is plenty more to do, and this is an
intermediate state where the "fEnforceES2Restrictions" bool still
exists. Eventually, that will go away, or change into a check between
the required version and the SkCapabilities supplied (also in
ProgramSettings).

As a proof-of-concept, this migrates some use-cases to insert the new
version directive, and unlock ES3 features in some tests and benches.

Bug: skia:11209
Change-Id: I964975931039588d7a302bfedd09246e3d4a79d2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/540037
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2022-05-17 15:42:31 +00:00
..
BUILD.bazel [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
Sk1DPathEffect.h Just expose factories for patheffects 2021-05-20 23:01:45 +00:00
Sk2DPathEffect.h Just expose factories for patheffects 2021-05-20 23:01:45 +00:00
SkBlenders.h Arithmetic blender 2021-07-08 17:06:17 +00:00
SkBlurDrawLooper.h Hide (unused) SkDrawLooper 2021-02-07 12:49:53 +00:00
SkBlurMaskFilter.h
SkColorMatrix.h Add SkColorMatrix factories for SkYUVColorSpace 2021-10-20 16:47:03 +00:00
SkColorMatrixFilter.h
SkCornerPathEffect.h Move class into impl 2021-05-21 18:06:53 +00:00
SkDashPathEffect.h
SkDiscretePathEffect.h Move patheffect details to (private) base subclass 2021-05-22 01:55:43 +00:00
SkGradientShader.h [includes] Prepare for moving SkColorSpace to forward declare 2022-03-31 19:50:10 +00:00
SkHighContrastFilter.h clean up SK_SUPPORT_LEGACY_RUNTIME_EFFECTS 2021-02-13 22:01:14 +00:00
SkImageFilters.h Add support for multiple child nodes to SkImageFilters::RuntimeShader 2022-01-05 20:07:00 +00:00
SkLayerDrawLooper.h Reenable Wdeprecated-copy-dtor 2021-02-16 17:53:28 +00:00
SkLumaColorFilter.h clean up SK_SUPPORT_LEGACY_RUNTIME_EFFECTS 2021-02-13 22:01:14 +00:00
SkOpPathEffect.h Move patheffect details to (private) base subclass 2021-05-22 01:55:43 +00:00
SkOverdrawColorFilter.h
SkPerlinNoiseShader.h Remove Improved Perlin Noise 2021-01-11 15:27:26 +00:00
SkRuntimeEffect.h Add #version directive to SkSL 2022-05-17 15:42:31 +00:00
SkShaderMaskFilter.h
SkStrokeAndFillPathEffect.h
SkTableColorFilter.h
SkTableMaskFilter.h
SkTrimPathEffect.h