skia2/modules/skottie
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
..
fuzz rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
gm Remove "dummy" to comply with Android's inclusive language guidance 2020-07-31 19:11:23 +00:00
include Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
src [skottie] Initial Displacement Map effect 2020-09-11 14:15:44 +00:00
tests Enable ClangTidy flag modernize-use-override. 2020-08-14 10:54:45 +00:00
utils [skottie] Custom prop manager updates 2020-08-20 19:59:22 +00:00
BUILD.gn [skottie] Initial audio layer plumbing 2020-08-12 13:03:16 +00:00
skottie.gni [skottie] Initial Displacement Map effect 2020-09-11 14:15:44 +00:00