19 #ifndef MIR_SCENE_THREADED_SNAPSHOT_STRATEGY_H_
20 #define MIR_SCENE_THREADED_SNAPSHOT_STRATEGY_H_
33 class SnapshottingFunctor;
42 std::shared_ptr<shell::SurfaceBufferAccess>
const& surface_buffer_access,
46 std::shared_ptr<PixelBuffer>
const pixels;
47 std::unique_ptr<SnapshottingFunctor> functor;
ThreadedSnapshotStrategy(std::shared_ptr< PixelBuffer > const &pixels)
Definition: threaded_snapshot_strategy.cpp:113
std::function< void(Snapshot const &)> SnapshotCallback
Definition: snapshot.h:39
Definition: threaded_snapshot_strategy.h:35
~ThreadedSnapshotStrategy() noexcept
Definition: threaded_snapshot_strategy.cpp:121
void take_snapshot_of(std::shared_ptr< shell::SurfaceBufferAccess > const &surface_buffer_access, shell::SnapshotCallback const &snapshot_taken)
Definition: threaded_snapshot_strategy.cpp:127
Definition: snapshot_strategy.h:35