skia2/modules/sksg/src
Florin Malita 4748c17557 [skottie] Initial Displacement Map effect
Plumb layer size information and add machinery for retrieving layer
content as an SkPicture.

Implement the effect in SkSL.

Current limitations:

  * displacement source layer must be above (on top in stacking order)
    of the target layer
  * if animated, the displacement layer timeline (in/out points) must
    fully cover the target layer timeline
  * Hue/Sat/Lightness selectors are not supported at the moment

These will be addressed in follow-up CLs.

Note: Bodymovin does not export hidden layers by default; if the
displacement source layer is hidden, one should select the "Hidden"
export option.

Change-Id: I11a5c760a9df1e75835a51371f60d5b798e7e38a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/314798
Commit-Queue: Florin Malita <fmalita@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2020-09-11 14:15:44 +00:00
..
SkSGClipEffect.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSGColorFilter.cpp stop calling legacy 255-biased colormatrix 2019-04-30 16:59:36 +00:00
SkSGDraw.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSGEffectNode.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSGGeometryEffect.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
SkSGGeometryNode.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSGGradient.cpp [skottie] Use SkColor4f for gradient color stops 2019-11-05 18:26:22 +00:00
SkSGGroup.cpp [skrive] Start parsing the node hierarchy 2020-06-18 19:29:42 +00:00
SkSGImage.cpp [skottie] Fix wipe effects for images 2020-06-30 23:16:52 +00:00
SkSGInvalidationController.cpp [sksg] Clean up public headers 2020-01-30 21:42:59 +00:00
SkSGMaskEffect.cpp [skottie] Luma matte support 2019-10-16 13:17:51 +00:00
SkSGMerge.cpp [skottie] Fix analytical mask fill type 2020-07-17 18:35:23 +00:00
SkSGNode.cpp [sksg] RenderNode visibility control 2019-06-19 00:49:15 +00:00
SkSGNodePriv.h [skottie] Caching motion tile 2019-07-10 19:13:41 +00:00
SkSGOpacityEffect.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSGPaint.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSGPath.cpp remove dead code around old SkPath enums 2019-12-14 01:58:10 +00:00
SkSGPlane.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
SkSGRect.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
SkSGRenderEffect.cpp [skottie] More masking fixes 2020-07-21 13:58:45 +00:00
SkSGRenderNode.cpp [skottie] Initial Displacement Map effect 2020-09-11 14:15:44 +00:00
SkSGScene.cpp [skottie] Cleanup: relocate Animator base class out of SkSG 2020-03-26 20:50:10 +00:00
SkSGText.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
SkSGTransform.cpp clean up public m44 and camera api 2020-04-06 15:34:17 +00:00
SkSGTransformPriv.h [skottie] Switch SkMatrix44 -> SkM44 2020-01-27 21:42:56 +00:00