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

@ -197,6 +197,8 @@ void VertexManager::PrepareDrawBuffers(u32 stride)
D3D::SetIndices(m_index_buffers[m_current_index_buffer]);
}
ADDSTAT(stats.thisFrame.bytesVertexStreamed, datasize);
ADDSTAT(stats.thisFrame.bytesIndexStreamed, IndexDataSize);
}
void VertexManager::DrawVertexBuffer(int stride)