16 #include <unordered_set>
17 #include <unordered_map>
96 virtual void bufferSizeChanged(
unsigned int bufferId)
override;
99 virtual void bufferDeleted(
unsigned int bufferId)
override;
105 virtual const std::unordered_map<unsigned int, int>& buffers(
void)
const;
108 virtual std::string bufferName(
unsigned int id)
const;
112 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:46
These properties are used in conjunction with DtGlBufferMemoryTracker.
Definition: DtGlBufferMemoryTracker.h:25
std::unordered_map< unsigned int, int > myTrackedBuffers
Definition: DtGlBufferMemoryTracker.h:118
int myMaxNumBuffers
All time number of buffers of this type. This is the maximum value myNumBuffers has ever attained dur...
Definition: DtGlBufferMemoryTracker.h:42
DtBufferTypeProperties myBufferProperties
properties of the buffers being tracked
Definition: DtGlBufferMemoryTracker.h:116
This class is used to track buffers' memory as they are created/deleted.
Definition: DtGlBufferMemoryTracker.h:80
uint64_t myBuffersSize
size of buffers (in bytes) of this type at a given point
Definition: DtGlBufferMemoryTracker.h:38
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:36
#define DT_DLL_VRVGRAPHICSUTILS
Definition: vrvGraphicsUtils.h:18
Contains makVrv::DtGlBufferListener class.