Added GPU timer.

This commit is contained in:
Branimir Karadžić
2015-05-12 17:03:25 -07:00
parent 146829b057
commit 7d50012dbe
5 changed files with 278 additions and 6 deletions

View File

@@ -5661,6 +5661,7 @@ namespace bgfx { namespace gl
, elapsedCpuMs > elapsedGpuMs ? '>' : '<'
, elapsedGpuMs
);
for (uint32_t ii = 0; ii < BX_COUNTOF(s_primInfo); ++ii)
{
tvm.printf(10, pos++, 0x8e, " %9s: %7d (#inst: %5d), submitted: %7d"