NULL);
if (!eglImage)
{
- LOG_DEBUG("X11EglImage", "could not allocate EGL Image for window");
+ LOG_ERROR("X11EglImage", "could not allocate EGL Image for window");
}
else
{
uint getNumberOfHardwareLayers(uint screenID);
uint* getScreenResolution(uint screenID);
uint* getScreenIDs(uint* length);
- bool start(int, int, const char*);
+ bool start(int, int, const char*, int);
void stop();
void signalWindowSystemRedraw();
virtual bool getOptimizationMode(OptimizationType id, OptimizationModeType* mode);
virtual bool setOptimizationMode(OptimizationType id, OptimizationModeType mode);
+ // from PluginBase
+ virtual int getIterationCounter();
+
private:
X11WindowSystem* m_pWindowSystem;
GLXGraphicsystem* m_pGraphicSystem;
{
}
-bool X11GLXRenderer::start(int width, int height, const char* displayname)
+bool X11GLXRenderer::start(int width, int height, const char* displayname, int maxIterationDurationInMS)
{
bool result = false;
ITextureBinder *binder = NULL;
if (binder != NULL)
{
m_pGraphicSystem->setTextureBinder(binder);
- result = m_pWindowSystem->start();
+ result = m_pWindowSystem->start(maxIterationDurationInMS);
}
}
}
return m_pGraphicSystem->setOptimizationMode(id, (unsigned int)mode);
}
+int X11GLXRenderer::getIterationCounter()
+{
+ return m_pWindowSystem->getIterationCounter();
+}
+
DECLARE_LAYERMANAGEMENT_PLUGIN(X11GLXRenderer)