19 #ifndef MIR_FRONTEND_CLIENT_BUFFER_TRACKER_H_
20 #define MIR_FRONTEND_CLIENT_BUFFER_TRACKER_H_
55 typedef std::tuple<graphics::BufferID, graphics::Buffer*> IdBufferAssociation;
56 std::list<IdBufferAssociation> buffers;
57 unsigned int const cache_size;
63 #endif // MIR_FRONTEND_CLIENT_BUFFER_TRACKER_H_
All things Mir.
Definition: buffer_stream.h:37
graphics::Buffer * buffer_from(graphics::BufferID const &id) const
Definition: client_buffer_tracker.cpp:57
bool client_has(graphics::BufferID const &id) const
Definition: client_buffer_tracker.cpp:71
void add(graphics::Buffer *buffer)
Add a Buffer to the list of buffers known by the client.
Definition: client_buffer_tracker.cpp:34
ClientBufferTracker & operator=(ClientBufferTracker const &)=delete
ClientBufferTracker(unsigned int client_cache_size)
Definition: client_buffer_tracker.cpp:28
Responsible for tracking what buffers the client library knows about for a surface.
Definition: client_buffer_tracker.h:40