adding disk_tri

This commit is contained in:
Federico Ponchio 2005-04-14 16:19:34 +00:00
parent 9b9197ccb4
commit a603f100c8
2 changed files with 11 additions and 2 deletions

View File

@ -24,6 +24,9 @@
History
$Log: not supported by cvs2svn $
Revision 1.7 2005/02/17 15:39:44 ponchio
Reorderes statistics a bit.
Revision 1.6 2005/02/08 12:43:03 ponchio
Added copyright
@ -59,8 +62,10 @@ using namespace nxs;
//we cannot flush since we are not in the openGL thread
//and flushing includes VBO buffer flushing also.
Entry &entry = (*mt)[item.id];
if(!entry.patch)
if(!entry.patch) {
disk += entry.disk_size;
disk_tri += entry.nvert * 2;
}
Patch &patch = mt->GetPatch(item.id, item.error, false);

View File

@ -24,6 +24,9 @@
History
$Log: not supported by cvs2svn $
Revision 1.5 2005/02/17 15:39:44 ponchio
Reorderes statistics a bit.
Revision 1.4 2005/02/08 12:43:03 ponchio
Added copyright
@ -55,7 +58,8 @@ class Preload: public pt::thread{
std::vector<Item> queue;
unsigned int disk; //kbytes readed from disk
unsigned int disk; //kbytes readed from disk
unsigned int disk_tri; //number of triangles readed from disk
unsigned int total_disk;
Preload(): thread(false), trigger(false, false) {}
~Preload() {