This class maintains a linked list of BufferContexts that might be allocated on the graphics card in ...
This is a base class for those kinds of SavedContexts that occupy an easily-measured (and substantial...
get_active
Returns the active flag associated with this object.
void update_data_size_bytes(size_t new_data_size_bytes)
Should be called (usually by a derived class) when the on-card size of this object has changed.
void set_active(bool flag)
Changes the active flag associated with this object.
get_object
Returns the associated object.
get_resident
Returns the resident flag associated with this object.
get_modified
Returns the UpdateSeq that was recorded the last time mark_loaded() was called.
void set_resident(bool flag)
Changes the resident flag associated with this object.
get_data_size_bytes
Returns the number of bytes previously reported for the data object.
void update_modified(UpdateSeq new_modified)
Should be called (usually by a derived class) when the modified counter for this object has changed.
BufferContext * get_next() const
This can be used along with BufferContextChain::get_first() to walk through the list of objects store...