+ // todo: add somewhere MakeUnique to make it cleaner
+ mGraphics = std::unique_ptr<Dali::Integration::Graphics::Graphics>(
+ new Dali::Integration::Graphics::Graphics()
+ );
+
+ // todo: surface shouldn't really be create here :((((
+ auto xlibSurface = std::unique_ptr<Dali::Graphics::Vulkan::VkSurfaceXlib2Xcb>(
+ new Dali::Graphics::Vulkan::VkSurfaceXlib2Xcb( *mSurface )
+ );
+
+ mGraphics->Create( std::move(xlibSurface) );
+
+ mCore = Integration::Core::New( *this, *mPlatformAbstraction, *mGraphics, *mGLES, *eglSyncImpl, *mGestureManager, dataRetentionPolicy,