mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
41 lines
No EOL
569 B
C++
41 lines
No EOL
569 B
C++
#include "GLDraw.h"
|
|
|
|
namespace Upp {
|
|
|
|
int sDrawCounter;
|
|
int sElementCounter;
|
|
int sTextureCounter;
|
|
int sProgramCounter;
|
|
int sTesselateCounter;
|
|
|
|
void GLClearCounters()
|
|
{
|
|
sElementCounter = sTextureCounter = sProgramCounter = sDrawCounter = sTesselateCounter = 0;
|
|
}
|
|
|
|
int GLElementCounter()
|
|
{
|
|
return sElementCounter;
|
|
}
|
|
|
|
int GLTextureCounter()
|
|
{
|
|
return sTextureCounter;
|
|
}
|
|
|
|
int GLProgramCounter()
|
|
{
|
|
return sProgramCounter;
|
|
}
|
|
|
|
int GLDrawCounter()
|
|
{
|
|
return sDrawCounter;
|
|
}
|
|
|
|
int GLTesselateCounter()
|
|
{
|
|
return sTesselateCounter;
|
|
}
|
|
|
|
}; |