X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fadaptor%2Fcommon%2Fadaptor-impl.cpp;h=e8683a59b5e7b1c082377e189a1c5e068e9f9a8a;hb=263ec21432f3d7c9f9be5b463748fdce8f6942e4;hp=daeb943eb2d6f9608b1dd2a03d198dc2cebcdc93;hpb=09e6892adcddf6d2bf7c88dc8442a42da2ac57f5;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/adaptor/common/adaptor-impl.cpp b/dali/internal/adaptor/common/adaptor-impl.cpp index daeb943..e8683a5 100755 --- a/dali/internal/adaptor/common/adaptor-impl.cpp +++ b/dali/internal/adaptor/common/adaptor-impl.cpp @@ -391,6 +391,12 @@ void Adaptor::Pause() // Ensure any messages queued during pause callbacks are processed by doing another update. RequestUpdateOnce(); + + DALI_LOG_RELEASE_INFO( "Adaptor::Pause: Paused\n" ); + } + else + { + DALI_LOG_RELEASE_INFO( "Adaptor::Pause: Not paused [%d]\n", mState ); } } @@ -419,6 +425,12 @@ void Adaptor::Resume() // Do at end to ensure our first update/render after resumption includes the processed messages as well mThreadController->Resume(); + + DALI_LOG_RELEASE_INFO( "Adaptor::Resume: Resumed\n"); + } + else + { + DALI_LOG_RELEASE_INFO( "Adaptor::Resume: Not resumed [%d]\n", mState ); } } @@ -459,6 +471,8 @@ void Adaptor::Stop() mCallbackManager->Stop(); mState = STOPPED; + + DALI_LOG_RELEASE_INFO( "Adaptor::Stop\n" ); } } @@ -891,6 +905,10 @@ void Adaptor::OnWindowShown() // Force a render task RequestUpdateOnce(); } + else + { + DALI_LOG_RELEASE_INFO( "Adaptor::OnWindowShown: Not shown [%d]\n", mState ); + } } void Adaptor::OnWindowHidden() @@ -902,6 +920,10 @@ void Adaptor::OnWindowHidden() // Adaptor cannot be resumed until the window is shown mState = PAUSED_WHILE_HIDDEN; } + else + { + DALI_LOG_RELEASE_INFO( "Adaptor::OnWindowHidden: Not hidden [%d]\n", mState ); + } } // Dali::Internal::Adaptor::Adaptor::OnDamaged @@ -932,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(); @@ -939,6 +965,8 @@ void Adaptor::NotifySceneCreated() SurfaceInitialized(); mState = RUNNING; + + DALI_LOG_RELEASE_INFO( "Adaptor::NotifySceneCreated\n" ); } void Adaptor::NotifyLanguageChanged()