*
*/
-// INTERNAL INCLUDES
-#include <dali/internal/offscreen/common/offscreen-application-impl.h>
-
// CLASS HEADER
#include <dali/devel-api/adaptor-framework/offscreen-application.h>
+// INTERNAL INCLUDES
+#include <dali/internal/offscreen/common/offscreen-application-impl.h>
+
namespace Dali
{
-OffscreenApplication OffscreenApplication::New( uint16_t width, uint16_t height, bool isTranslucent )
+OffscreenApplication OffscreenApplication::New( uint16_t width, uint16_t height, bool isTranslucent, OffscreenApplication::RenderMode renderMode )
{
Dali::Any surface;
- IntrusivePtr< Internal::OffscreenApplication > impl = Internal::OffscreenApplication::New( width, height, surface, isTranslucent );
+ IntrusivePtr< Internal::OffscreenApplication > impl = Internal::OffscreenApplication::New( width, height, surface, isTranslucent, renderMode );
OffscreenApplication offscreenApplication = OffscreenApplication( impl.Get() );
return offscreenApplication;
}
-OffscreenApplication OffscreenApplication::New( Dali::Any surface, bool isTranslucent )
+OffscreenApplication OffscreenApplication::New( Dali::Any surface, OffscreenApplication::RenderMode renderMode )
{
- IntrusivePtr< Internal::OffscreenApplication > impl = Internal::OffscreenApplication::New( 0, 0, surface, isTranslucent );
+ IntrusivePtr< Internal::OffscreenApplication > impl = Internal::OffscreenApplication::New( 0, 0, surface, false, renderMode );
OffscreenApplication offscreenApplication = OffscreenApplication( impl.Get() );
{
}
-void OffscreenApplication::Run()
+void OffscreenApplication::Start()
{
- Internal::GetImplementation( *this ).Run();
+ Internal::GetImplementation( *this ).Start();
}
void OffscreenApplication::Stop()
return Internal::GetImplementation( *this ).GetWindow();
}
+void OffscreenApplication::RenderOnce()
+{
+ Internal::GetImplementation( *this ).RenderOnce();
+}
+
OffscreenApplication::OffscreenApplicationSignalType& OffscreenApplication::InitSignal()
{
return Internal::GetImplementation( *this ).InitSignal();