19 #ifndef MIR_FRONTEND_SURFACE_TRACKER_H_
20 #define MIR_FRONTEND_SURFACE_TRACKER_H_
24 #include <unordered_map>
60 size_t const client_cache_size;
61 std::unordered_map<SurfaceId, std::shared_ptr<ClientBufferTracker>> client_buffer_tracker;
68 std::unordered_map<SurfaceId, graphics::Buffer*> client_buffer_resource;
74 #endif // MIR_FRONTEND_SURFACE_TRACKER_H_
All things Mir.
Definition: aging_buffer.h:24
graphics::Buffer * last_buffer(SurfaceId) const
Definition: surface_tracker.cpp:65
graphics::Buffer * buffer_from(graphics::BufferID) const
Definition: surface_tracker.cpp:75
bool track_buffer(SurfaceId surface_id, graphics::Buffer *buffer)
Definition: surface_tracker.cpp:33
SurfaceTracker(size_t client_cache_size)
Definition: surface_tracker.cpp:28
Definition: surface_tracker.h:37
SurfaceTracker & operator=(SurfaceTracker const &)=delete
Definition: int_wrapper.h:27
void remove_surface(SurfaceId)
Definition: surface_tracker.cpp:54