mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
Count listsyncs and drawsyncs in gpu stats. Eat some cycles in listSync
Chose a conservative number (same as sceGeContinue)
This commit is contained in:
@@ -74,6 +74,8 @@ struct GPUStatistics {
|
||||
|
||||
void ResetFrame() {
|
||||
numDrawCalls = 0;
|
||||
numDrawSyncs = 0;
|
||||
numListSyncs = 0;
|
||||
numCachedDrawCalls = 0;
|
||||
numVertsSubmitted = 0;
|
||||
numCachedVertsDrawn = 0;
|
||||
@@ -104,6 +106,8 @@ struct GPUStatistics {
|
||||
|
||||
// Per frame statistics
|
||||
int numDrawCalls;
|
||||
int numDrawSyncs;
|
||||
int numListSyncs;
|
||||
int numCachedDrawCalls;
|
||||
int numFlushes;
|
||||
int numVertsSubmitted;
|
||||
|
||||
Reference in New Issue
Block a user