memory reports
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
|
||||
#include "gtemath.hh"
|
||||
#include "uisystem.hh"
|
||||
#ifdef PSXSPLASH_MEMOVERLAY
|
||||
#include "memoverlay.hh"
|
||||
#endif
|
||||
|
||||
using namespace psyqo::fixed_point_literals;
|
||||
using namespace psyqo::trig_literals;
|
||||
@@ -277,9 +280,15 @@ void psxsplash::Renderer::Render(eastl::vector<GameObject*>& objects) {
|
||||
processTriangle(obj->polygons[i], fogFarSZ, ot, balloc);
|
||||
}
|
||||
if (m_uiSystem) m_uiSystem->renderOT(m_gpu, ot, balloc);
|
||||
#ifdef PSXSPLASH_MEMOVERLAY
|
||||
if (m_memOverlay) m_memOverlay->renderOT(ot, balloc);
|
||||
#endif
|
||||
m_gpu.getNextClear(clear.primitive, m_clearcolor);
|
||||
m_gpu.chain(clear); m_gpu.chain(ot);
|
||||
if (m_uiSystem) m_uiSystem->renderText(m_gpu);
|
||||
#ifdef PSXSPLASH_MEMOVERLAY
|
||||
if (m_memOverlay) m_memOverlay->renderText(m_gpu);
|
||||
#endif
|
||||
m_frameCount++;
|
||||
}
|
||||
|
||||
@@ -311,9 +320,15 @@ void psxsplash::Renderer::RenderWithBVH(eastl::vector<GameObject*>& objects, con
|
||||
processTriangle(obj->polygons[ref.triangleIndex], fogFarSZ, ot, balloc);
|
||||
}
|
||||
if (m_uiSystem) m_uiSystem->renderOT(m_gpu, ot, balloc);
|
||||
#ifdef PSXSPLASH_MEMOVERLAY
|
||||
if (m_memOverlay) m_memOverlay->renderOT(ot, balloc);
|
||||
#endif
|
||||
m_gpu.getNextClear(clear.primitive, m_clearcolor);
|
||||
m_gpu.chain(clear); m_gpu.chain(ot);
|
||||
if (m_uiSystem) m_uiSystem->renderText(m_gpu);
|
||||
#ifdef PSXSPLASH_MEMOVERLAY
|
||||
if (m_memOverlay) m_memOverlay->renderText(m_gpu);
|
||||
#endif
|
||||
m_frameCount++;
|
||||
}
|
||||
|
||||
@@ -756,9 +771,15 @@ void psxsplash::Renderer::RenderWithRooms(eastl::vector<GameObject*>& objects,
|
||||
#endif
|
||||
|
||||
if (m_uiSystem) m_uiSystem->renderOT(m_gpu, ot, balloc);
|
||||
#ifdef PSXSPLASH_MEMOVERLAY
|
||||
if (m_memOverlay) m_memOverlay->renderOT(ot, balloc);
|
||||
#endif
|
||||
m_gpu.getNextClear(clear.primitive, m_clearcolor);
|
||||
m_gpu.chain(clear); m_gpu.chain(ot);
|
||||
if (m_uiSystem) m_uiSystem->renderText(m_gpu);
|
||||
#ifdef PSXSPLASH_MEMOVERLAY
|
||||
if (m_memOverlay) m_memOverlay->renderText(m_gpu);
|
||||
#endif
|
||||
m_frameCount++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user