Revert "[Tizen] Revert "Support screen rotation""
[platform/core/uifw/dali-adaptor.git] / adaptors / integration-api / x11 / ecore-x-render-surface.h
index 1280125..8b1a0bf 100644 (file)
@@ -142,18 +142,23 @@ public: // from Dali::RenderSurface
   /**
    * @copydoc Dali::RenderSurface::PreRender()
    */
-  virtual bool PreRender( EglInterface& egl, Integration::GlAbstraction& glAbstraction ) = 0;
+  virtual bool PreRender( EglInterface& egl, Integration::GlAbstraction& glAbstraction, bool resizingSurface ) = 0;
 
   /**
    * @copydoc Dali::RenderSurface::PostRender()
    */
-  virtual void PostRender( EglInterface& egl, Integration::GlAbstraction& glAbstraction, DisplayConnection* displayConnection, unsigned int deltaTime, bool replacingSurface ) = 0;
+  virtual void PostRender( EglInterface& egl, Integration::GlAbstraction& glAbstraction, DisplayConnection* displayConnection, bool replacingSurface, bool resizingSurface ) = 0;
 
   /**
    * @copydoc Dali::RenderSurface::ReleaseLock()
    */
   virtual void ReleaseLock() = 0;
 
+  /**
+   * @copydoc Dali::RenderSurface::GetSurfaceType()
+   */
+  virtual RenderSurface::Type GetSurfaceType();
+
 private:
 
   /**
@@ -178,11 +183,11 @@ protected:
 
 protected: // Data
 
-  PositionSize                mPosition;           ///< Position
-  std::string                 mTitle;              ///< Title of window which shows from "xinfo -topvwins" command
-  TriggerEventInterface*      mRenderNotification; ///< Render notification trigger
-  ColorDepth                  mColorDepth;         ///< Color depth of surface (32 bit or 24 bit)
-  bool                        mOwnSurface;         ///< Whether we own the surface (responsible for deleting it)
+  PositionSize                mPosition;               ///< Position
+  std::string                 mTitle;                  ///< Title of window which shows from "xinfo -topvwins" command
+  TriggerEventInterface*      mRenderNotification;     ///< Render notification trigger
+  ColorDepth                  mColorDepth;             ///< Color depth of surface (32 bit or 24 bit)
+  bool                        mOwnSurface;             ///< Whether we own the surface (responsible for deleting it)
 };
 
 } // namespace ECore