Experiments with allocating octree nodes via memory pools.

This commit is contained in:
Shyotl
2012-11-05 16:58:03 -06:00
parent a582b5996c
commit 3bbb23b1bc
2 changed files with 65 additions and 5 deletions

View File

@@ -226,7 +226,9 @@ void display_stats()
F32 fps = gRecentFrameCount / fps_log_freq;
llinfos << llformat("FPS: %.02f", fps) << llendl;
llinfos << llformat("VBO: %d glVBO: %d", LLVertexBuffer::sCount, LLVertexBuffer::sGLCount) << llendl;
OctreStats::getInstance()->dump();
#ifdef LL_OCTREE_STATS
OctreeStats::getInstance()->dump();
#endif
gRecentFrameCount = 0;
gRecentFPSTime.reset();
}