16 #include <unordered_set>
17 #include <unordered_map>
97 virtual void bufferSizeChanged(
unsigned int bufferId)
override;
100 virtual void bufferDeleted(
unsigned int bufferId)
override;
106 virtual const std::unordered_map<unsigned int, int>& buffers(
void)
const;
109 virtual std::string bufferName(
unsigned int id)
const;
113 virtual void printProperties();
uint64_t myMaxBuffersSize
all time max size of buffers (in bytes) of this type This is the maximum value myBuffersSize has ever...
Definition: DtGlBufferMemoryTracker.h:47
These properties are used in conjunction with DtGlBufferMemoryTracker.
Definition: DtGlBufferMemoryTracker.h:26
std::unordered_map< unsigned int, int > myTrackedBuffers
Definition: DtGlBufferMemoryTracker.h:119
int myMaxNumBuffers
All time number of buffers of this type. This is the maximum value myNumBuffers has ever attained dur...
Definition: DtGlBufferMemoryTracker.h:43
DtBufferTypeProperties myBufferProperties
properties of the buffers being tracked
Definition: DtGlBufferMemoryTracker.h:117
This class is used to track buffers' memory as they are created/deleted.
Definition: DtGlBufferMemoryTracker.h:81
uint64_t myBuffersSize
size of buffers (in bytes) of this type at a given point
Definition: DtGlBufferMemoryTracker.h:39
An abstract class to track a DtGlBuffer and its properties (size, residency, etc) Each DtGlBuffer can...
Definition: DtGlBufferListener.h:31
int myNumBuffers
number of buffers of this type at a given point
Definition: DtGlBufferMemoryTracker.h:37
#define DT_DLL_VRVGRAPHICSUTILS
Definition: vrvGraphicsUtils.h:18
Contains makVrv::DtGlBufferListener class.