Added SurfaceSizeChanged before ReplaceSurface 64/102364/4
authortaeyoon <taeyoon0.lee@samsung.com>
Thu, 24 Nov 2016 07:42:58 +0000 (16:42 +0900)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 10 Mar 2017 11:47:18 +0000 (03:47 -0800)
  - Seperated SurfaceSizeChanged() from ReplaceSurface() for sync of NativeRenderSurface

Change-Id: Idd77297fd836c0429f4c23ed2c8b05f629f8e235

adaptors/common/application-impl.cpp

index e8d8429..8dd7597 100644 (file)
@@ -370,6 +370,7 @@ void Application::ReplaceWindow(PositionSize windowPosition, const std::string&
   Dali::RenderSurface* renderSurface = windowImpl.GetSurface();
 
   Any nativeWindow = newWindow.GetNativeHandle();
+  Internal::Adaptor::Adaptor::GetImplementation( *mAdaptor ).SurfaceSizeChanged( windowPosition );
   Internal::Adaptor::Adaptor::GetImplementation( *mAdaptor ).ReplaceSurface(nativeWindow, *renderSurface);
   mWindow = newWindow;
 }