1 | /* |
2 | * Copyright 2019 Google Inc. |
3 | * |
4 | * Use of this source code is governed by a BSD-style license that can be |
5 | * found in the LICENSE file. |
6 | */ |
7 | |
8 | #include "modules/skottie/src/SkottiePriv.h" |
9 | |
10 | #include "modules/sksg/include/SkSGRenderNode.h" |
11 | |
12 | namespace skottie { |
13 | namespace internal { |
14 | |
15 | sk_sp<sksg::RenderNode> AnimationBuilder::attachNullLayer(const skjson::ObjectValue& layer, |
16 | LayerInfo*) const { |
17 | // Null layers are used solely to drive dependent transforms, |
18 | // but we use free-floating sksg::Matrices for that purpose. |
19 | return nullptr; |
20 | } |
21 | |
22 | } // namespace internal |
23 | } // namespace skottie |
24 | |