DALi Version 2.3.2
[platform/core/uifw/dali-adaptor.git] / dali / internal / adaptor / common / adaptor-impl.h
index 814fa5a..279ff14 100644 (file)
@@ -28,7 +28,6 @@
 #include <dali/public-api/signals/callback.h>
 
 // INTERNAL INCLUDES
-#include <dali/devel-api/adaptor-framework/clipboard.h>
 #include <dali/integration-api/adaptor-framework/adaptor.h>
 #include <dali/integration-api/adaptor-framework/scene-holder-impl.h>
 #include <dali/integration-api/adaptor-framework/trigger-event-factory.h>
@@ -174,6 +173,9 @@ public:
    */
   void SceneCreated();
 
+  /**
+   * Get the application package name
+   */
   static std::string GetApplicationPackageName();
 
 public: // AdaptorInternalServices implementation
@@ -442,6 +444,11 @@ public:
   const LogFactoryInterface& GetLogFactory();
 
   /**
+   * @copydoc Dali::Adaptor::GetTraceFactory
+   */
+  const TraceFactoryInterface& GetTraceFactory();
+
+  /**
    * @copydoc Dali::Adaptor::RegisterProcessor
    */
   void RegisterProcessor(Integration::Processor& processor, bool postProcessor);
@@ -515,6 +522,11 @@ public: //AdaptorInternalServices
   void GetWindowContainerInterface(WindowContainer& windows) override;
 
   /**
+   * copydoc Dali::Internal::Adaptor::AdaptorInternalServices::GetTextureUploadManager()
+   */
+  Devel::TextureUploadManager& GetTextureUploadManager() override;
+
+  /**
    * @brief Get the configuration manager
    * @return The configuration manager, or null if it hasn't been created yet
    */
@@ -550,7 +562,12 @@ public: // Signals
 
 public: // From Dali::Internal::Adaptor::CoreEventInterface
   /**
-   * @copydoc Dali::Internal::Adaptor:CoreEventInterface:::ProcessCoreEvents()
+   * @copydoc Dali::Internal::Adaptor::CoreEventInterface:::FlushUpdateMessages()
+   */
+  void FlushUpdateMessages() override;
+
+  /**
+   * @copydoc Dali::Internal::Adaptor::CoreEventInterface:::ProcessCoreEvents()
    */
   void ProcessCoreEvents() override;
 
@@ -560,16 +577,16 @@ 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()
    */
-  void RequestUpdate(bool forceUpdate) override;
+  void RequestUpdate() override;
 
   /**
    * @copydoc Dali::Integration::RenderController::RequestProcessEventsOnIdle()
    */
-  void RequestProcessEventsOnIdle(bool forceProcess) override;
+  void RequestProcessEventsOnIdle() override;
 
 public: // From Dali::Internal::Adaptor::WindowVisibilityObserver
   /**
@@ -622,6 +639,11 @@ private:
   void SetupSystemInformation();
 
   /**
+   * Remove system information if needs
+   */
+  void RemoveSystemInformation();
+
+  /**
    * Adds a callback to be run when entering an idle state.
    *
    * A callback of the following type should be used:
@@ -689,26 +711,28 @@ private:                                          // Data
 
   TizenPlatform::TizenPlatformAbstraction* mPlatformAbstraction; ///< Platform abstraction
 
-  CallbackManager*            mCallbackManager;                       ///< Used to install callbacks
-  bool                        mNotificationOnIdleInstalled;           ///< whether the idle handler is installed to send an notification event
-  TriggerEventInterface*      mNotificationTrigger;                   ///< Notification event trigger
-  FeedbackPluginProxy*        mDaliFeedbackPlugin;                    ///< Used to access feedback support
-  FeedbackController*         mFeedbackController;                    ///< Plays feedback effects for Dali-Toolkit UI Controls.
-  Dali::TtsPlayer             mTtsPlayers[Dali::TtsPlayer::MODE_NUM]; ///< Provides TTS support
-  ObserverContainer           mObservers;                             ///< A list of adaptor observer pointers
-  EnvironmentOptions*         mEnvironmentOptions;                    ///< environment options
-  PerformanceInterface*       mPerformanceInterface;                  ///< Performance interface
-  KernelTrace                 mKernelTracer;                          ///< Kernel tracer
-  SystemTrace                 mSystemTracer;                          ///< System tracer
-  ObjectProfiler*             mObjectProfiler;                        ///< Tracks object lifetime for profiling
-  Dali::Timer                 mMemoryPoolTimer;                       ///< Logs memory pool capacity
-  SlotDelegate<Adaptor>       mMemoryPoolTimerSlotDelegate;
-  SocketFactory               mSocketFactory;               ///< Socket factory
-  Mutex                       mMutex;                       ///< Mutex
-  ThreadMode                  mThreadMode;                  ///< The thread mode
-  const bool                  mEnvironmentOptionsOwned : 1; ///< Whether we own the EnvironmentOptions (and thus, need to delete it)
-  bool                        mUseRemoteSurface : 1;        ///< whether the remoteSurface is used or not
-  Dali::LayoutDirection::Type mRootLayoutDirection;         ///< LayoutDirection of window
+  std::unique_ptr<CallbackManager> mCallbackManager;                       ///< Used to install callbacks
+  bool                             mNotificationOnIdleInstalled;           ///< whether the idle handler is installed to send an notification event
+  bool                             mRequiredIdleRepeat;                    ///< whether we need to repeat installed notification event in idle handler
+  TriggerEventInterface*           mNotificationTrigger;                   ///< Notification event trigger
+  FeedbackPluginProxy*             mDaliFeedbackPlugin;                    ///< Used to access feedback support
+  FeedbackController*              mFeedbackController;                    ///< Plays feedback effects for Dali-Toolkit UI Controls.
+  Dali::TtsPlayer                  mTtsPlayers[Dali::TtsPlayer::MODE_NUM]; ///< Provides TTS support
+  ObserverContainer                mObservers;                             ///< A list of adaptor observer pointers
+  EnvironmentOptions*              mEnvironmentOptions;                    ///< environment options
+  PerformanceInterface*            mPerformanceInterface;                  ///< Performance interface
+  KernelTrace                      mKernelTracer;                          ///< Kernel tracer
+  SystemTrace                      mSystemTracer;                          ///< System tracer
+  Devel::TextureUploadManager      mTextureUploadManager;                  ///< TextureUploadManager
+  ObjectProfiler*                  mObjectProfiler;                        ///< Tracks object lifetime for profiling
+  Dali::Timer                      mMemoryPoolTimer;                       ///< Logs memory pool capacity
+  SlotDelegate<Adaptor>            mMemoryPoolTimerSlotDelegate;
+  SocketFactory                    mSocketFactory;               ///< Socket factory
+  Mutex                            mMutex;                       ///< Mutex
+  ThreadMode                       mThreadMode;                  ///< The thread mode
+  const bool                       mEnvironmentOptionsOwned : 1; ///< Whether we own the EnvironmentOptions (and thus, need to delete it)
+  bool                             mUseRemoteSurface : 1;        ///< whether the remoteSurface is used or not
+  Dali::LayoutDirection::Type      mRootLayoutDirection;         ///< LayoutDirection of window
 
   std::unique_ptr<Integration::AddOnManager> mAddOnManager; ///< Pointer to the addon manager