mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Add some stats to get some idea of much alpha tested drawing we do.
Turns out it's one hell of a lot and we really should fix this by checking both vertices and textures to deduce when we can just skip alpha testing safely, probably quite often. I care about this because alpha testing drawing is very expensive on some mobile chips.
This commit is contained in:
1 parent
d6709a0b32
commit
6360fcb0ae
6 files changed
+17
-16
No files matched your search
@@ -275,6 +275,8 @@ void __DisplayGetDebugStats(char stats[2048]) {
|
||||
"Most active syscall: %s : %0.2f ms\n"
|
||||
"Draw calls: %i, flushes %i\n"
|
||||
"Cached Draw calls: %i\n"
|
||||
"Alpha Tested draws: %i\n"
|
||||
"Non Alpha Tested draws: %i\n"
|
||||
"Num Tracked Vertex Arrays: %i\n"
|
||||
"Cycles executed: %d (%f per vertex)\n"
|
||||
"Commands per call level: %i %i %i %i\n"
|
||||
@@ -297,6 +299,8 @@ void __DisplayGetDebugStats(char stats[2048]) {
|
||||
gpuStats.numDrawCalls,
|
||||
gpuStats.numFlushes,
|
||||
gpuStats.numCachedDrawCalls,
|
||||
gpuStats.numAlphaTestedDraws,
|
||||
gpuStats.numNonAlphaTestedDraws,
|
||||
gpuStats.numTrackedVertexArrays,
|
||||
gpuStats.vertexGPUCycles + gpuStats.otherGPUCycles,
|
||||
vertexAverageCycles,
|
||||
|
||||
Reference in new issue
Block a user