04d79fc594
We still need *a* copy, to satisfy SkSL that mutates the input color parameter, but it almost never needs to be global, unless there are calls to sample() from a function other than main. With that tweak, we generate much better SkSL/GLSL code from every one of our effects, avoiding the proliferation of global variables. Bug: skia:12140 Change-Id: I5c3bd42df34a095969abcbbc60e69c653a08087a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/424299 Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Commit-Queue: Brian Osman <brianosman@google.com> |
||
---|---|---|
.. | ||
Sk1DPathEffect.h | ||
Sk2DPathEffect.h | ||
SkBlurDrawLooper.h | ||
SkBlurMaskFilter.h | ||
SkColorMatrix.h | ||
SkColorMatrixFilter.h | ||
SkCornerPathEffect.h | ||
SkDashPathEffect.h | ||
SkDiscretePathEffect.h | ||
SkGradientShader.h | ||
SkHighContrastFilter.h | ||
SkImageFilters.h | ||
SkLayerDrawLooper.h | ||
SkLumaColorFilter.h | ||
SkOpPathEffect.h | ||
SkOverdrawColorFilter.h | ||
SkPerlinNoiseShader.h | ||
SkRuntimeEffect.h | ||
SkShaderMaskFilter.h | ||
SkStrokeAndFillPathEffect.h | ||
SkTableColorFilter.h | ||
SkTableMaskFilter.h | ||
SkTrimPathEffect.h |