skia2/modules/sksg/include
Florin Malita fb4bce8322 [sksg] Refactor gradient implementation
Currently, gradients are PaintNode subclasses - which limits their
applicability to leaf DAG nodes.

In order to support generalized gradient/shader effects:

  * introduce a new Shader base class
  * refactor gradients as Shader subclasses
  * introduce ShaderPaint (to support current Gradient-as-paint use)
  * introduce ShaderEffect (to support future Gradient-as-effect use)

Tangentially:

  * rename SkSGPaintNode.h -> SkSGPaint.h
  * consolidate sksg::Color into SkSGPaint.h

Change-Id: I94ba949f4504c09cfde4a4f030d927411fdd66a2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/205263
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2019-04-01 18:43:43 +00:00
..
SkSGClipEffect.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGColorFilter.h Reland "[skottie] Add tritone layer effect support" 2019-02-22 23:11:02 +00:00
SkSGDraw.h [sksg] Refactor gradient implementation 2019-04-01 18:43:43 +00:00
SkSGEffectNode.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGGeometryNode.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGGeometryTransform.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGGradient.h [sksg] Refactor gradient implementation 2019-04-01 18:43:43 +00:00
SkSGGroup.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGImage.h [skottie] Use kMedium_SkFilterQuality for image filtering 2019-03-13 16:18:51 +00:00
SkSGInvalidationController.h Move SkNoncopyable to include/private. 2018-07-17 21:39:51 +00:00
SkSGMaskEffect.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGMerge.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGNode.h [sksg] Fix image filter content inval rect tracking 2019-02-10 21:43:20 +00:00
SkSGOpacityEffect.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGPaint.h [sksg] Refactor gradient implementation 2019-04-01 18:43:43 +00:00
SkSGPath.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGPlane.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGRect.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGRenderEffect.h [sksg] Refactor gradient implementation 2019-04-01 18:43:43 +00:00
SkSGRenderNode.h [sksg] Refactor gradient implementation 2019-04-01 18:43:43 +00:00
SkSGRoundEffect.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGScene.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGText.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGTransform.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00
SkSGTrimEffect.h [sksg] Hit-testing API 2019-02-12 15:01:05 +00:00