/**
* @copydoc Dali::RenderSurface::PreRender()
*/
- virtual bool PreRender( EglInterface& egl, Integration::GlAbstraction& glAbstraction );
+ virtual bool PreRender( EglInterface& egl, Integration::GlAbstraction& glAbstraction, bool resizingSurface );
/**
* @copydoc Dali::RenderSurface::PostRender()
*/
- virtual void PostRender( EglInterface& egl, Integration::GlAbstraction& glAbstraction, DisplayConnection* displayConnection, unsigned int deltaTime, bool replacingSurface );
+ virtual void PostRender( EglInterface& egl, Integration::GlAbstraction& glAbstraction, DisplayConnection* displayConnection, bool replacingSurface, bool resizingSurface );
/**
* @copydoc Dali::RenderSurface::StopRender()
*/
virtual void StopRender();
-private:
- enum SyncMode
- {
- SYNC_MODE_NONE,
- SYNC_MODE_WAIT
- };
-
/**
- * Set the sync mode.
- * @param[in] syncMode The sync mode
+ * @copydoc Dali::RenderSurface::SetThreadSynchronization
*/
- void SetSyncMode( SyncMode syncMode );
+ virtual void SetThreadSynchronization( ThreadSynchronizationInterface& threadSynchronization );
- /**
- * If sync mode is WAIT, then acquire a lock. This prevents render thread from
- * continuing until the pixmap has been drawn by the compositor.
- * It must be released for rendering to continue.
- * @param[in] syncMode The current sync mode
- */
- void AcquireLock( SyncMode syncMode );
+ virtual RenderSurface::Type GetSurfaceType();
+
+private:
/**
* Release any locks.