LOG_DEBUG("X11GLESRenderer", "Creating Renderer");
}
-bool X11GLESRenderer::start(int width, int height, const char* displayname)
+bool X11GLESRenderer::start(int width, int height, const char* displayname, int maxIterationDurationInMS)
{
Display* nativeDisplayHandle = NULL;
EGLDisplay eglDisplayhandle = NULL;
{
m_pGraphicSystem->setTextureBinder(m_binder);
- if (!m_pWindowSystem->start())
+ if (!m_pWindowSystem->start(maxIterationDurationInMS))
{
goto fail; // TODO bad style
}
return result;
}
-HealthCondition X11GLESRenderer::pluginGetHealth()
+int X11GLESRenderer::getIterationCounter()
{
- HealthCondition health = PluginBase::pluginGetHealth();
- if (0 != pthread_kill(m_pWindowSystem->mThreadId, 0))
- {
- health = HealthDead;
- }
- return health;
+ return m_pWindowSystem->getIterationCounter();
}
DECLARE_LAYERMANAGEMENT_PLUGIN(X11GLESRenderer)