[Tizen] The graphics of new surface should be initialized while replacing the surface
authorRichard Huang <r.huang@samsung.com>
Tue, 20 Nov 2018 16:53:27 +0000 (16:53 +0000)
committerJiyun Yang <ji.yang@samsung.com>
Thu, 22 Nov 2018 02:50:51 +0000 (11:50 +0900)
Change-Id: I05a319939976b84923f0952a8494a7e7c2995dd0

dali/internal/adaptor/common/combined-update-render-controller.cpp

index 84fa525..67bfd43 100755 (executable)
@@ -473,6 +473,7 @@ void CombinedUpdateRenderController::UpdateRenderThread()
       // If the new surface has a different display connection, then the context will be lost
 
       mAdaptorInterfaces.GetDisplayConnectionInterface().Initialize();
+      newSurface->InitializeGraphics( mAdaptorInterfaces.GetGraphicsInterface(), mAdaptorInterfaces.GetDisplayConnectionInterface() );
       newSurface->ReplaceGraphicsSurface();
       SurfaceReplaced();
     }