summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderManager.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-10 23:11:14 -0400
committerLioncash <mathew1800@gmail.com>2019-07-10 23:19:10 -0400
commita99c7d01e1b043df9c09a3047bf0442f88ad94d3 (patch)
tree7a8414d7fdb82b522cfbb58b3c00337b97e8ab29 /Source/Core/VideoCommon/VertexLoaderManager.cpp
parent0a7395bfba99719f71de5186a9916e66c1901f37 (diff)
VideoCommon/Statistics: Normalize statistic variable names
Normalizes all variables related to statistics so that they follow our coding style. These are relatively low traffic areas, so this modification isn't too noisy.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderManager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp
index 3388f0d2bb..391d956401 100644
--- a/Source/Core/VideoCommon/VertexLoaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp
@@ -54,7 +54,7 @@ void Init()
map_entry = nullptr;
for (auto& map_entry : g_preprocess_cp_state.vertex_loaders)
map_entry = nullptr;
- SETSTAT(stats.numVertexLoaders, 0);
+ SETSTAT(stats.num_vertex_loaders, 0);
}
void Clear()
@@ -223,7 +223,7 @@ static VertexLoaderBase* RefreshLoader(int vtx_attr_group, bool preprocess = fal
s_vertex_loader_map[uid] =
VertexLoaderBase::CreateVertexLoader(state->vtx_desc, state->vtx_attr[vtx_attr_group]);
loader = s_vertex_loader_map[uid].get();
- INCSTAT(stats.numVertexLoaders);
+ INCSTAT(stats.num_vertex_loaders);
}
if (check_for_native_format)
{
@@ -287,8 +287,8 @@ int RunVertices(int vtx_attr_group, int primitive, int count, DataReader src, bo
g_vertex_manager->FlushData(count, loader->m_native_vtx_decl.stride);
- ADDSTAT(stats.thisFrame.numPrims, count);
- INCSTAT(stats.thisFrame.numPrimitiveJoins);
+ ADDSTAT(stats.this_frame.num_prims, count);
+ INCSTAT(stats.this_frame.num_primitive_joins);
return size;
}