Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
flutter::LayerSnapshotStore Class Reference

Collects snapshots of layers during frame rasterization. More...

#include <layer_snapshot_store.h>

Public Types

typedef std::vector< LayerSnapshotDataSnapshots
 

Public Member Functions

 LayerSnapshotStore ()=default
 
 ~LayerSnapshotStore ()=default
 
void Clear ()
 Clears all the stored snapshots.
 
void Add (const LayerSnapshotData &data)
 
size_t Size () const
 
Snapshots::iterator begin ()
 
Snapshots::iterator end ()
 

Detailed Description

Collects snapshots of layers during frame rasterization.

Definition at line 46 of file layer_snapshot_store.h.

Member Typedef Documentation

◆ Snapshots

Definition at line 48 of file layer_snapshot_store.h.

Constructor & Destructor Documentation

◆ LayerSnapshotStore()

flutter::LayerSnapshotStore::LayerSnapshotStore ( )
default

◆ ~LayerSnapshotStore()

flutter::LayerSnapshotStore::~LayerSnapshotStore ( )
default

Member Function Documentation

◆ Add()

void flutter::LayerSnapshotStore::Add ( const LayerSnapshotData data)

Adds snapshots for a given layer. duration marks the time taken to rasterize this one layer.

Definition at line 25 of file layer_snapshot_store.cc.

25 {
26 layer_snapshots_.push_back(data);
27}
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data
Definition switches.h:41

◆ begin()

Snapshots::iterator flutter::LayerSnapshotStore::begin ( )
inline

Definition at line 65 of file layer_snapshot_store.h.

65{ return layer_snapshots_.begin(); }

◆ Clear()

void flutter::LayerSnapshotStore::Clear ( )

Clears all the stored snapshots.

Definition at line 21 of file layer_snapshot_store.cc.

21 {
22 layer_snapshots_.clear();
23}

◆ end()

Snapshots::iterator flutter::LayerSnapshotStore::end ( )
inline

Definition at line 66 of file layer_snapshot_store.h.

66{ return layer_snapshots_.end(); }

◆ Size()

size_t flutter::LayerSnapshotStore::Size ( ) const
inline

Definition at line 62 of file layer_snapshot_store.h.

62{ return layer_snapshots_.size(); }

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