mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
add new statistics for gpu buffer streaming
This commit is contained in:
parent
6a5e7d7be4
commit
a51d6a6ddd
8 changed files with 21 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue