Defer vertex decoding until flush. Track draw calls so that they can be cached later.

This commit is contained in:
Henrik Rydgard committed 2013-01-19 17:05:50 +01:00
1 parent 229d4e9f32
commit 8ff96bbcd8
16 files changed
+351 -86

No files matched your search

+6
View File
@@ -216,7 +216,10 @@ void hleEnterVblank(u64 userdata, int cyclesLate) {
"Slowest syscall: %s : %0.2f ms\n"
"Most active syscall: %s : %0.2f ms\n"
"Draw calls: %i, flushes %i\n"
"Cached Draw calls: %i\n"
"Num Tracked Vertex Arrays: %i\n"
"Vertices Transformed: %i\n"
"Cached Vertices Drawn: %i\n"
"FBOs active: %i\n"
"Textures active: %i, decoded: %i\n"
"Texture invalidations: %i\n"
@@ -232,7 +235,10 @@ void hleEnterVblank(u64 userdata, int cyclesLate) {
kernelStats.summedSlowestSyscallTime * 1000.0f,
gpuStats.numDrawCalls,
gpuStats.numFlushes,
gpuStats.numCachedDrawCalls,
gpuStats.numTrackedVertexArrays,
gpuStats.numVertsTransformed,
gpuStats.numCachedVertsDrawn,
gpuStats.numFBOs,
gpuStats.numTextures,
gpuStats.numTexturesDecoded,