DALI_LOG_RENDER_INFO( "RENDER END\n\n" );
}
-void PrintRenderInstruction( const SceneGraph::RenderInstruction& instruction )
+void PrintRenderInstruction( const SceneGraph::RenderInstruction& instruction, BufferIndex index )
{
const char* target = (0 != instruction.mOffscreenTextureId) ? "FrameBuffer" : "Screen";
std::stringstream debugStream;
- debugStream << "Rendering to " << target << ", View: " << *(instruction.mViewMatrix) << " Projection: " << *(instruction.mProjectionMatrix);
+ debugStream << "Rendering to " << target << ", View: " << *(instruction.GetViewMatrix(index)) << " Projection: " << *(instruction.GetProjectionMatrix(index));
if( instruction.mIsViewportSet )
{
DALI_LOG_RENDER_INFO( " %s\n", debugString.c_str() );
}
+void PrintRendererCount( unsigned int frameCount, unsigned int rendererCount )
+{
+ if( frameCount % 120 == 30 ) // Print every 2 seconds reg
+ {
+ Debug::LogMessage( Debug::DebugInfo, "Renderer Total # renderers: %u\n", rendererCount );
+ }
+}
+
+void PrintCullCount( unsigned int frameCount, unsigned int culledCount )
+{
+ if( frameCount % 120 == 30 ) // Print every 2 seconds reg
+ {
+ Debug::LogMessage( Debug::DebugInfo, "Renderer # Culled renderers: %u\n", culledCount );
+ }
+}
+
+
+
} // Render
} // Internal