Allow to call RequestProcessEventsOnIdle. 45/299045/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 19 Sep 2023 01:51:57 +0000 (10:51 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Tue, 19 Sep 2023 01:53:21 +0000 (10:53 +0900)
Change-Id: I50cc99847675cf14bebed730e344f215dd77850c
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/integration-api/adaptor-framework/adaptor.h
dali/internal/adaptor/common/adaptor-impl.h
dali/internal/adaptor/common/adaptor.cpp

index 98db7e6..0d80b35 100644 (file)
@@ -404,6 +404,11 @@ public:
   void FlushUpdateMessages();
 
   /**
+   * @brief Requests a future call to Dali::Integration::Core::ProcessEvents(), when the application is idle.
+   */
+  void RequestProcessEventsOnIdle();
+
+  /**
    * @brief The log factory allows installation of a logger function in worker threads.
    * @return An interface to a logging factory
    */
index cced74b..454b81e 100644 (file)
@@ -577,7 +577,7 @@ private: // From Dali::Internal::Adaptor::CoreEventInterface
    */
   void QueueCoreEvent(const Dali::Integration::Event& event) override;
 
-private: // From Dali::Integration::RenderController
+public: // From Dali::Integration::RenderController
   /**
    * @copydoc Dali::Integration::RenderController::RequestUpdate()
    */
index c32a2a2..6ca95b2 100644 (file)
@@ -230,6 +230,11 @@ void Adaptor::FlushUpdateMessages()
   mImpl->FlushUpdateMessages();
 }
 
+void Adaptor::RequestProcessEventsOnIdle()
+{
+  mImpl->RequestProcessEventsOnIdle();
+}
+
 const LogFactoryInterface& Adaptor::GetLogFactory()
 {
   return mImpl->GetLogFactory();