mScene = Dali::Integration::Scene::New( Vector2( static_cast<float>( mSurfaceWidth ), static_cast<float>( mSurfaceHeight ) ) );
mScene.SetSurface( *mRenderSurface );
mScene.SetDpi( Vector2( static_cast<float>( mDpi.x ), static_cast<float>( mDpi.y ) ) );
-
- mCore->SurfaceResized( mRenderSurface );
}
void TestApplication::InitializeCore()
void SetSurface( Dali::RenderSurfaceInterface* surface );
/**
+ * @brief Called when the surface set is resized.
+ */
+ void SurfaceResized();
+
+ /**
* @brief Get the render surface
* @return The render surface
*/
FontClient fontClient = FontClient::Get();
fontClient.SetDpi( dpiHor, dpiVer );
- // Tell the core the size of the surface just before we start the render-thread
- mCore->SurfaceResized( defaultWindow->GetSurface() );
-
// Initialize the thread controller
mThreadController->Initialize();
{
if( windowPtr == windowImpl ) // the window is not deleted
{
- // Let the core know the surface size has changed
- mCore->SurfaceResized( &newSurface );
-
mResizedSignal.Emit( mAdaptor );
windowImpl->SetSurface( &newSurface );
void Adaptor::SurfaceResizePrepare( Dali::RenderSurfaceInterface* surface, SurfaceSize surfaceSize )
{
- // Let the core know the surface size has changed
- mCore->SurfaceResized( surface );
-
mResizedSignal.Emit( mAdaptor );
}