Revert "[Tizen] Add to get the status whether window is rotating or not"
authorDaekwang Ryu <dkdk.ryu@samsung.com>
Tue, 26 Apr 2022 01:46:34 +0000 (10:46 +0900)
committerDaekwang Ryu <dkdk.ryu@samsung.com>
Tue, 26 Apr 2022 01:46:34 +0000 (10:46 +0900)
This reverts commit 8092a834783676569c48c827b8beee67cd5052c6.

dali/devel-api/adaptor-framework/window-devel.cpp
dali/devel-api/adaptor-framework/window-devel.h
dali/internal/window-system/common/window-impl.cpp
dali/internal/window-system/common/window-impl.h
dali/internal/window-system/common/window-render-surface.cpp
dali/internal/window-system/common/window-render-surface.h

index 0713159..34b609a 100644 (file)
@@ -244,11 +244,6 @@ bool IsMinimized(Window window)
   return GetImplementation(window).IsMinimized();
 }
 
-bool IsWindowRotating(Window window)
-{
-  return GetImplementation(window).IsWindowRotating();
-}
-
 } // namespace DevelWindow
 
 } // namespace Dali
index 459c289..8f51d27 100644 (file)
@@ -480,14 +480,6 @@ DALI_ADAPTOR_API void Minimize(Window window, bool minimize);
  */
 DALI_ADAPTOR_API bool IsMinimized(Window window);
 
-/**
- * @brief Query whether window is rotating or not.
- *
- * @param[in] window The window instance.
- * @return true if window is rotating, false otherwise.
- */
-DALI_ADAPTOR_API bool IsWindowRotating(Window window);
-
 } // namespace DevelWindow
 
 } // namespace Dali
index 545b382..fc5a81d 100644 (file)
@@ -1195,11 +1195,6 @@ void Window::SendRotationCompletedAcknowledgement()
   }
 }
 
-bool Window::IsWindowRotating() const
-{
-  return mWindowSurface->IsWindowRotating();
-}
-
 } // namespace Adaptor
 
 } // namespace Internal
index 12d1c7f..ce91a7f 100644 (file)
@@ -454,11 +454,6 @@ public: // Dali::Internal::Adaptor::SceneHolder
    */
   void SendRotationCompletedAcknowledgement();
 
-  /**
-   * @copydoc Dali::DevelWindow::IsWindowRotating()
-   */
-  bool IsWindowRotating() const;
-
 private:
   /**
    * @brief Enumeration for orietation mode.
index c6cee4a..a0523d3 100644 (file)
@@ -747,18 +747,13 @@ void WindowRenderSurface::OutputTransformed()
   }
 }
 
-bool WindowRenderSurface::IsWindowRotating() const
-{
-  return !(mWindowRotationFinished);
-}
-
 void WindowRenderSurface::ProcessPostRender()
 {
   if(!mWindowRotationFinished)
   {
     mWindowBase->WindowRotationCompleted(mWindowRotationAngle, mPositionSize.width, mPositionSize.height);
+    DALI_LOG_RELEASE_INFO("WindowRenderSurface::ProcessPostRender: Rotation Done\n");
     mWindowRotationFinished = true;
-    DALI_LOG_RELEASE_INFO("WindowRenderSurface::ProcessPostRender: Rotation Done, flag = %d\n", mWindowRotationFinished);
   }
 
   if(mIsImeWindowSurface)
index 5e58893..5d248c0 100644 (file)
@@ -138,13 +138,6 @@ public: // API
   void UpdatePositionSize(Dali::PositionSize positionSize);
 
   /**
-   * @brief Query whether window is rotating or not.
-   *
-   * @return true if window is rotating, false otherwise.
-   */
-  bool IsWindowRotating() const;
-
-  /**
    * @brief This signal is emitted when the output is transformed.
    */
   OutputSignalType& OutputTransformedSignal();