diff options
author | Florin Malita <fmalita@chromium.org> | 2018-07-10 14:34:29 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-10 19:53:36 +0000 |
commit | 4cbfb3000681239f302efd690a358159ffda15f9 (patch) | |
tree | f3b02cbf66e1f5218c6b461a4e414e4111191272 /modules | |
parent | 7f8a073fae1fae28081ee5218f6c690e20032d2e (diff) |
[skottie] Log (unsupported) layer effects
TBR=
Change-Id: Ia35e4110cb3c02339a38e82cd0f4516c7c58a5d9
Reviewed-on: https://skia-review.googlesource.com/140251
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/skottie/src/Skottie.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/skottie/src/Skottie.cpp b/modules/skottie/src/Skottie.cpp index e59ace86ac..5cd1f4e6fa 100644 --- a/modules/skottie/src/Skottie.cpp +++ b/modules/skottie/src/Skottie.cpp @@ -1109,6 +1109,10 @@ sk_sp<sksg::RenderNode> AttachLayer(const skjson::ObjectValue* jlayer, AttachLayerContext* layerCtx) { if (!jlayer) return nullptr; + if (!(*jlayer)["ef"].is<skjson::NullValue>()) { + LOG("?? Unsupported layer effect.\n"); + } + using LayerAttacher = sk_sp<sksg::RenderNode> (*)(const skjson::ObjectValue&, AttachContext*); static constexpr LayerAttacher gLayerAttachers[] = { AttachCompLayer, // 'ty': 0 |