19 #ifndef MIR_SCENE_THREADED_SNAPSHOT_STRATEGY_H_ 20 #define MIR_SCENE_THREADED_SNAPSHOT_STRATEGY_H_ 33 class SnapshottingFunctor;
42 std::shared_ptr<compositor::BufferStream>
const& surface_buffer_access,
46 std::shared_ptr<PixelBuffer>
const pixels;
47 std::unique_ptr<SnapshottingFunctor> functor;
void take_snapshot_of(std::shared_ptr< compositor::BufferStream > const &surface_buffer_access, SnapshotCallback const &snapshot_taken)
Definition: threaded_snapshot_strategy.cpp:125
All things Mir.
Definition: atomic_callback.h:25
std::function< void(Snapshot const &)> SnapshotCallback
Definition: snapshot.h:39
ThreadedSnapshotStrategy(std::shared_ptr< PixelBuffer > const &pixels)
Definition: threaded_snapshot_strategy.cpp:111
Definition: threaded_snapshot_strategy.h:35
~ThreadedSnapshotStrategy() noexcept
Definition: threaded_snapshot_strategy.cpp:119
Definition: snapshot_strategy.h:32