3d846c98ca
Implement gradient ramp using SG shader effects. A couple of quirks: - since the gradient type (linear/radial) is animatiable (?!), update sksg::ShaderEffect to allow resetting the shader - gradient ramp doesn't have an assigned/stable JSON effect type, but the data is present; introduce a name-based effect lookup method (used as a fallback when the type is not recognized) Change-Id: I02bbd6c75c3af175b64c1df502aa52b7c0875162 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/205342 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org> |
||
---|---|---|
.. | ||
SkSGClipEffect.h | ||
SkSGColorFilter.h | ||
SkSGDraw.h | ||
SkSGEffectNode.h | ||
SkSGGeometryNode.h | ||
SkSGGeometryTransform.h | ||
SkSGGradient.h | ||
SkSGGroup.h | ||
SkSGImage.h | ||
SkSGInvalidationController.h | ||
SkSGMaskEffect.h | ||
SkSGMerge.h | ||
SkSGNode.h | ||
SkSGOpacityEffect.h | ||
SkSGPaint.h | ||
SkSGPath.h | ||
SkSGPlane.h | ||
SkSGRect.h | ||
SkSGRenderEffect.h | ||
SkSGRenderNode.h | ||
SkSGRoundEffect.h | ||
SkSGScene.h | ||
SkSGText.h | ||
SkSGTransform.h | ||
SkSGTrimEffect.h |