}
}
+void Adaptor::DeleteSurface( Dali::RenderSurfaceInterface& surface )
+{
+ // Flush the event queue to give the update-render thread chance
+ // to start processing messages for new camera setup etc as soon as possible
+ ProcessCoreEvents();
+
+ // This method blocks until the render thread has finished rendering the current surface.
+ mThreadController->DeleteSurface( &surface );
+}
+
Dali::RenderSurfaceInterface& Adaptor::GetSurface() const
{
return *mWindows.front()->GetSurface();
return mConfigurationManager->IsMultipleWindowSupported();
}
-bool Adaptor::IsRenderingWindows() const
-{
- return ( mThreadController && mThreadController->IsRenderingWindows() );
-}
-
void Adaptor::RequestUpdateOnce()
{
if( mThreadController )