Call ProcessCoreEvent() from NotifySceneCreated() 00/201000/2
authorhuiyu.eun <huiyu.eun@samsung.com>
Thu, 7 Mar 2019 04:08:34 +0000 (13:08 +0900)
committerhuiyu.eun <huiyu.eun@samsung.com>
Thu, 7 Mar 2019 04:33:27 +0000 (13:33 +0900)
Reduce launching time

Change-Id: I0ecaa97da695a56840e69d88753ea33219754c37
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
dali/internal/adaptor/common/adaptor-impl.cpp

index 7c85786..e8683a5 100755 (executable)
@@ -954,6 +954,10 @@ void Adaptor::NotifySceneCreated()
 {
   GetCore().SceneCreated();
 
+  // Flush the event queue to give the update-render thread chance
+  // to start processing messages for new camera setup etc as soon as possible
+  ProcessCoreEvents();
+
   // Start thread controller after the scene has been created
   mThreadController->Start();