add new statistics for gpu buffer streaming

This commit is contained in:
degasus
2013-05-23 21:07:01 +02:00
parent 6a5e7d7be4
commit a51d6a6ddd
8 changed files with 21 additions and 0 deletions

View File

@ -104,6 +104,9 @@ void VertexManager::PrepareDrawBuffers(u32 stride)
{
s_offset[2] = s_indexBuffer->Upload((u8*)GetPointIndexBuffer(), point_index_size * sizeof(u16));
}
ADDSTAT(stats.thisFrame.bytesVertexStreamed, vertex_data_size);
ADDSTAT(stats.thisFrame.bytesIndexStreamed, index_size);
}
void VertexManager::Draw(u32 stride)