namespace Dali
{
-OffscreenWindow OffscreenWindow::New( OffscreenApplication offscreenApplication, uint16_t width, uint16_t height, bool isTranslucent )
+OffscreenWindow OffscreenWindow::New( uint16_t width, uint16_t height, bool isTranslucent )
{
auto windowFactory = Dali::Internal::GetOffscreenWindowFactory();
- Dali::Any surface;
+ Any surface;
IntrusivePtr < Internal::OffscreenWindow > impl = windowFactory->CreateOffscreenWindow( width, height, surface, isTranslucent ).release();
OffscreenWindow window = OffscreenWindow( impl.Get() );
- impl->Initialize( &Internal::GetImplementation( offscreenApplication ), false );
+ impl->Initialize( false );
return window;
}
-OffscreenWindow OffscreenWindow::New( OffscreenApplication offscreenApplication, Dali::Any surface, bool isTranslucent )
+OffscreenWindow OffscreenWindow::New( Any surface, bool isTranslucent )
{
auto windowFactory = Dali::Internal::GetOffscreenWindowFactory();
IntrusivePtr < Internal::OffscreenWindow > impl = windowFactory->CreateOffscreenWindow( 0, 0, surface, isTranslucent ).release();
OffscreenWindow window = OffscreenWindow( impl.Get() );
- impl->Initialize( &Internal::GetImplementation( offscreenApplication ), false );
+ impl->Initialize( false );
return window;
}
return Internal::GetImplementation( *this ).GetLayerCount();
}
-Dali::Layer OffscreenWindow::GetLayer( uint32_t depth ) const
+Layer OffscreenWindow::GetLayer( uint32_t depth ) const
{
return Internal::GetImplementation( *this ).GetLayer( depth );
}
return Internal::GetImplementation( *this ).GetSize();
}
+Any OffscreenWindow::GetNativeHandle() const
+{
+ return Internal::GetImplementation( *this ).GetNativeHandle();
+}
+
OffscreenWindow::PostRenderSignalType& OffscreenWindow::PostRenderSignal()
{
return Internal::GetImplementation( *this ).PostRenderSignal();