Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skottie::internal::SceneGraphRevalidator Class Referencefinal

#include <SkottiePriv.h>

Inheritance diagram for skottie::internal::SceneGraphRevalidator:
SkNVRefCnt< SceneGraphRevalidator >

Public Member Functions

void revalidate ()
 
void setRoot (sk_sp< sksg::RenderNode >)
 
- Public Member Functions inherited from SkNVRefCnt< SceneGraphRevalidator >
 SkNVRefCnt ()
 
 ~SkNVRefCnt ()
 
bool unique () const
 
void ref () const
 
void unref () const
 
void deref () const
 
bool refCntGreaterThan (int32_t threadIsolatedTestCnt) const
 

Detailed Description

Definition at line 57 of file SkottiePriv.h.

Member Function Documentation

◆ revalidate()

void skottie::internal::SceneGraphRevalidator::revalidate ( )

Definition at line 65 of file Skottie.cpp.

65 {
66 if (fRoot) {
67 fRoot->revalidate(nullptr, SkMatrix::I());
68 }
69}
static const SkMatrix & I()
Definition: SkMatrix.cpp:1544
const SkRect & revalidate(InvalidationController *, const SkMatrix &)
Definition: SkSGNode.cpp:134

◆ setRoot()

void skottie::internal::SceneGraphRevalidator::setRoot ( sk_sp< sksg::RenderNode root)

Definition at line 61 of file Skottie.cpp.

61 {
62 fRoot = std::move(root);
63}
string root
Definition: scale_cpu.py:20

The documentation for this class was generated from the following files: