5#ifndef FLUTTER_FLOW_LAYER_SNAPSHOT_STORE_H_
6#define FLUTTER_FLOW_LAYER_SNAPSHOT_STORE_H_
10#include "flutter/fml/logging.h"
11#include "flutter/fml/time/time_delta.h"
39 const int64_t layer_unique_id_;
62 size_t Size()
const {
return layer_snapshots_.size(); }
65 Snapshots::iterator
begin() {
return layer_snapshots_.begin(); }
66 Snapshots::iterator
end() {
return layer_snapshots_.end(); }
LayerSnapshotData(int64_t layer_unique_id, const fml::TimeDelta &duration, const sk_sp< SkData > &snapshot, const SkRect &bounds)
sk_sp< SkData > GetSnapshot() const
~LayerSnapshotData()=default
int64_t GetLayerUniqueId() const
fml::TimeDelta GetDuration() const
Collects snapshots of layers during frame rasterization.
Snapshots::iterator end()
Snapshots::iterator begin()
~LayerSnapshotStore()=default
void Clear()
Clears all the stored snapshots.
void Add(const LayerSnapshotData &data)
LayerSnapshotStore()=default
std::vector< LayerSnapshotData > Snapshots
Optional< SkRect > bounds
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data