X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fwindow-system%2Ftizen-wayland%2Fnative-render-surface-ecore-wl.h;h=ea9c6d7dd144ce61148e5d082e001c94dee9daf4;hb=8d9a1dab15669410f14a7626300452e61b885c25;hp=dba6bfdff54ac4fc7d20816c3594eca49f79166d;hpb=75e6c74ae4df2752553c161fcd658ca8e3abb608;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.h b/dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.h index dba6bfd..ea9c6d7 100644 --- a/dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.h +++ b/dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.h @@ -44,10 +44,11 @@ public: /** * Uses an Wayland surface to render to. - * @param [in] positionSize the position and size of the surface + * @param [in] surfaceSize the size of the surface + * @param [in] surface the native surface handle * @param [in] isTransparent if it is true, surface has 32 bit color depth, otherwise, 24 bit */ - NativeRenderSurfaceEcoreWl( Dali::PositionSize positionSize, bool isTransparent = false ); + NativeRenderSurfaceEcoreWl( SurfaceSize surfaceSize, Any surface, bool isTransparent = false ); /** * @brief Destructor @@ -84,12 +85,6 @@ public: // from Dali::RenderSurfaceInterface virtual void GetDpi( unsigned int& dpiHorizontal, unsigned int& dpiVertical ) override; /** - * @brief Return the orientation of the surface. - * @return The orientation - */ - virtual int GetOrientation() const override; - - /** * @copydoc Dali::RenderSurfaceInterface::InitializeGraphics() */ virtual void InitializeGraphics() override; @@ -122,12 +117,12 @@ public: // from Dali::RenderSurfaceInterface /** * @copydoc Dali::RenderSurfaceInterface::PreRender() */ - virtual bool PreRender( bool resizingSurface ) override; + virtual bool PreRender( bool resizingSurface, const std::vector>& damagedRects, Rect& clippingRect ) override; /** * @copydoc Dali::RenderSurfaceInterface::PostRender() */ - virtual void PostRender( bool renderToFbo, bool replacingSurface, bool resizingSurface ); + virtual void PostRender( bool renderToFbo, bool replacingSurface, bool resizingSurface, const std::vector>& damagedRects ) override; /** * @copydoc Dali::RenderSurfaceInterface::StopRender() @@ -178,7 +173,7 @@ private: private: // Data - PositionSize mPosition; + SurfaceSize mSurfaceSize; TriggerEventInterface* mRenderNotification; Internal::Adaptor::GraphicsInterface* mGraphics; ///< The graphics interface EglInterface* mEGL;