This commit is contained in:
bkaradzic 2013-10-05 19:46:57 -07:00
parent e93449571d
commit 46d6ff0b59
2 changed files with 3 additions and 17 deletions

View file

@ -852,19 +852,6 @@ namespace bgfx
#endif // BGFX_CONFIG_DEBUG
}
void Context::dumpViewStats()
{
#if 0 // BGFX_CONFIG_DEBUG
for (uint8_t view = 0; view < BGFX_CONFIG_MAX_VIEWS; ++view)
{
if (0 < m_seq[view])
{
BX_TRACE("%d: %d", view, m_seq[view]);
}
}
#endif // BGFX_CONFIG_DEBUG
}
void Context::freeDynamicBuffers()
{
for (uint16_t ii = 0, num = m_numFreeDynamicIndexBufferHandles; ii < num; ++ii)
@ -961,8 +948,6 @@ namespace bgfx
memcpy(m_submit->m_other, m_other, sizeof(m_other) );
m_submit->finish();
dumpViewStats();
Frame* temp = m_render;
m_render = m_submit;
m_submit = temp;

View file

@ -2551,9 +2551,10 @@ namespace bgfx
void frame();
void frameNoRenderWait();
void swap();
bool renderFrame(); // render thread
void rendererFlip();
// render thread
bool renderFrame();
void rendererFlip();
void rendererInit();
void rendererShutdown();
void rendererCreateIndexBuffer(IndexBufferHandle _handle, Memory* _mem);