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=3f2020bf7c7cbd8daf6a8f307f7a55de930658bc;hb=e6d3f90f48ef3fe628b0476b8f4999e4d2f55e02;hp=e3a33ba1b8b0caf7ea676687f200c0388ba48421;hpb=8047c78f1a02d4db60d7af87080e2d5f248e45d5;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 e3a33ba..3f2020b 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,6 +85,12 @@ 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; @@ -116,12 +123,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() @@ -172,7 +179,7 @@ private: private: // Data - PositionSize mPosition; + SurfaceSize mSurfaceSize; TriggerEventInterface* mRenderNotification; Internal::Adaptor::GraphicsInterface* mGraphics; ///< The graphics interface EglInterface* mEGL;