8 #ifndef GlobeEngine_MemoryState_h
9 #define GlobeEngine_MemoryState_h
11 #include "OpenGL_Includes.h"
24 #ifndef GENGINE_GLAPI_410_AND_LOWER
43 bool setMemoryStatusAvailable(
bool _in);
45 GLint dedicatedMemory;
46 GLint totalDedicatedMemory;
47 GLint currentFreeDedicatedMemory;
48 GLint evictionCountSinceLastStart;
49 GLint evictedMemorSize;
52 GLint amdVertexBufferMemory[4];
53 GLint amdTextureMemory[4];
54 GLint amdRenderbufferMemory[4];
56 bool memoryStatusAvailable;
bool checkIfAMDCard()
Definition: MemoryState.cpp:156
std::string getOpenGLVersion()
Definition: MemoryState.cpp:182
std::string getGLSLVersion()
Definition: MemoryState.cpp:187
std::string getGPURenderer()
Definition: MemoryState.cpp:177
Definition: MemoryState.h:16
int getNVXDedicatedGPUMemory()
Definition: MemoryState.cpp:114
std::string getGPUVendor()
Definition: MemoryState.cpp:172
~MemoryState()
Definition: MemoryState.cpp:11
int getNVXTotalDedicatedGPUMemory()
Definition: MemoryState.cpp:125
void clear()
Definition: MemoryState.cpp:16
bool checkIfNVidiaCard()
Definition: MemoryState.cpp:164
void create()
Definition: MemoryState.cpp:31
int getNVXEvictionsCountSinceLastSystemStart()
Definition: MemoryState.cpp:137
bool isAvailable()
Definition: MemoryState.cpp:42
int getNVXEvictedMemorySize()
Definition: MemoryState.cpp:143
Definition: DebugLogger.h:14
int getATIMemoryPoolInfo(int _pool, int _param)
Definition: MemoryState.cpp:86
int getNVXCurrentlyAvailableDedicatedGPUMemory()
Definition: MemoryState.cpp:131
MemoryState()
Definition: MemoryState.cpp:6