Flutter Engine
The Flutter Engine
third_party
skia
modules
skottie
src
layers
NullLayer.cpp
Go to the documentation of this file.
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 "
include/core/SkRefCnt.h
"
9
#include "
modules/skottie/src/SkottiePriv.h
"
10
#include "
modules/sksg/include/SkSGRenderNode.h
"
11
12
namespace
skjson
{
13
class
ObjectValue;
14
}
15
16
namespace
skottie
{
17
namespace
internal {
18
19
sk_sp<sksg::RenderNode>
AnimationBuilder::attachNullLayer(
const
skjson::ObjectValue
& layer,
20
LayerInfo*)
const
{
21
// Null layers are used solely to drive dependent transforms,
22
// but we use free-floating sksg::Matrices for that purpose.
23
return
nullptr
;
24
}
25
26
}
// namespace internal
27
}
// namespace skottie
SkRefCnt.h
SkSGRenderNode.h
SkottiePriv.h
sk_sp< sksg::RenderNode >
skjson::ObjectValue
Definition:
SkJSON.h:337
skjson
Definition:
Animator.h:17
skottie
Definition:
ExternalLayer.h:16
Generated on Sun Jun 23 2024 21:56:05 for Flutter Engine by
1.9.4