Supports to acknowledge for completing window rotation
[platform/core/uifw/dali-adaptor.git] / dali / integration-api / adaptor-framework / scene-holder-impl.h
index 6c53831..7f6c9ff 100644 (file)
@@ -170,6 +170,12 @@ public:
   void SurfaceRotated(float width, float height, int orientation);
 
   /**
+   * @brief Send message to acknowledge window rotation with current window orientation.
+   * It is to send message to render thread for completing window rotation by user.
+   */
+  void SetRotationCompletedAcknowledgement();
+
+  /**
    * @copydoc Dali::Integration::SceneHolder::FeedTouchPoint
    */
   void FeedTouchPoint(Dali::Integration::Point& point, int timeStamp);
@@ -271,9 +277,6 @@ public: // The following methods must be overridden
    */
   virtual Dali::Any GetNativeHandle() const = 0;
 
-private:
-  Graphics::UniquePtr<Graphics::RenderTarget> mRenderTarget{nullptr};
-
 protected:
   // Constructor
   SceneHolder();
@@ -335,6 +338,9 @@ private:
   class SceneHolderLifeCycleObserver;
   std::unique_ptr<SceneHolderLifeCycleObserver> mLifeCycleObserver; ///< The adaptor life cycle observer
 
+private:
+  Graphics::UniquePtr<Graphics::RenderTarget> mRenderTarget{nullptr};
+
 protected:
   uint32_t                 mId;    ///< A unique ID to identify the SceneHolder starting from 0
   Dali::Integration::Scene mScene; ///< The Scene