mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Added uniform size stats.
This commit is contained in:
parent
2cb4a52b36
commit
89e55a0c7e
4 changed files with 18 additions and 14 deletions
|
@ -5068,9 +5068,10 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
||||||
tvm.printf(tvm.m_width-27, 0, 0x1f, " [F11 - RenderDoc capture] ");
|
tvm.printf(tvm.m_width-27, 0, 0x1f, " [F11 - RenderDoc capture] ");
|
||||||
}
|
}
|
||||||
|
|
||||||
tvm.printf(10, pos++, 0x8e, " Indices: %7d", statsNumIndices);
|
tvm.printf(10, pos++, 0x8e, " Indices: %7d ", statsNumIndices);
|
||||||
tvm.printf(10, pos++, 0x8e, " DVB size: %7d", _render->m_vboffset);
|
tvm.printf(10, pos++, 0x8e, " Uniform size: %7d ", _render->m_constEnd);
|
||||||
tvm.printf(10, pos++, 0x8e, " DIB size: %7d", _render->m_iboffset);
|
tvm.printf(10, pos++, 0x8e, " DVB size: %7d ", _render->m_vboffset);
|
||||||
|
tvm.printf(10, pos++, 0x8e, " DIB size: %7d ", _render->m_iboffset);
|
||||||
|
|
||||||
pos++;
|
pos++;
|
||||||
tvm.printf(10, pos++, 0x8e, " State cache: ");
|
tvm.printf(10, pos++, 0x8e, " State cache: ");
|
||||||
|
|
|
@ -4780,9 +4780,10 @@ data.NumQualityLevels = 0;
|
||||||
// tvm.printf(tvm.m_width-27, 0, 0x1f, " [F11 - RenderDoc capture] ");
|
// tvm.printf(tvm.m_width-27, 0, 0x1f, " [F11 - RenderDoc capture] ");
|
||||||
// }
|
// }
|
||||||
|
|
||||||
tvm.printf(10, pos++, 0x8e, " Indices: %7d ", statsNumIndices);
|
tvm.printf(10, pos++, 0x8e, " Indices: %7d ", statsNumIndices);
|
||||||
tvm.printf(10, pos++, 0x8e, " DVB size: %7d ", _render->m_vboffset);
|
tvm.printf(10, pos++, 0x8e, " Uniform size: %7d ", _render->m_constEnd);
|
||||||
tvm.printf(10, pos++, 0x8e, " DIB size: %7d ", _render->m_iboffset);
|
tvm.printf(10, pos++, 0x8e, " DVB size: %7d ", _render->m_vboffset);
|
||||||
|
tvm.printf(10, pos++, 0x8e, " DIB size: %7d ", _render->m_iboffset);
|
||||||
|
|
||||||
pos++;
|
pos++;
|
||||||
tvm.printf(10, pos++, 0x8e, " State cache: ");
|
tvm.printf(10, pos++, 0x8e, " State cache: ");
|
||||||
|
|
|
@ -3792,9 +3792,10 @@ namespace bgfx { namespace d3d9
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
tvm.printf(10, pos++, 0x8e, " Indices: %7d", statsNumIndices);
|
tvm.printf(10, pos++, 0x8e, " Indices: %7d ", statsNumIndices);
|
||||||
tvm.printf(10, pos++, 0x8e, " DVB size: %7d", _render->m_vboffset);
|
tvm.printf(10, pos++, 0x8e, " Uniform size: %7d ", _render->m_constEnd);
|
||||||
tvm.printf(10, pos++, 0x8e, " DIB size: %7d", _render->m_iboffset);
|
tvm.printf(10, pos++, 0x8e, " DVB size: %7d ", _render->m_vboffset);
|
||||||
|
tvm.printf(10, pos++, 0x8e, " DIB size: %7d ", _render->m_iboffset);
|
||||||
|
|
||||||
double captureMs = double(captureElapsed)*toMs;
|
double captureMs = double(captureElapsed)*toMs;
|
||||||
tvm.printf(10, pos++, 0x8e, " Capture: %7.4f [ms]", captureMs);
|
tvm.printf(10, pos++, 0x8e, " Capture: %7.4f [ms]", captureMs);
|
||||||
|
|
|
@ -5916,9 +5916,10 @@ namespace bgfx { namespace gl
|
||||||
tvm.printf(tvm.m_width-27, 0, 0x1f, " [F11 - RenderDoc capture] ");
|
tvm.printf(tvm.m_width-27, 0, 0x1f, " [F11 - RenderDoc capture] ");
|
||||||
}
|
}
|
||||||
|
|
||||||
tvm.printf(10, pos++, 0x8e, " Indices: %7d ", statsNumIndices);
|
tvm.printf(10, pos++, 0x8e, " Indices: %7d ", statsNumIndices);
|
||||||
tvm.printf(10, pos++, 0x8e, " DVB size: %7d ", _render->m_vboffset);
|
tvm.printf(10, pos++, 0x8e, " Uniform size: %7d ", _render->m_constEnd);
|
||||||
tvm.printf(10, pos++, 0x8e, " DIB size: %7d ", _render->m_iboffset);
|
tvm.printf(10, pos++, 0x8e, " DVB size: %7d ", _render->m_vboffset);
|
||||||
|
tvm.printf(10, pos++, 0x8e, " DIB size: %7d ", _render->m_iboffset);
|
||||||
|
|
||||||
pos++;
|
pos++;
|
||||||
tvm.printf(10, pos++, 0x8e, " State cache: ");
|
tvm.printf(10, pos++, 0x8e, " State cache: ");
|
||||||
|
|
Loading…
Reference in a new issue