adding disk_tri
This commit is contained in:
parent
9b9197ccb4
commit
a603f100c8
|
@ -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);
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue