X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Frender-surface.h;h=bb36f602fd09cb4f745a962d26479d0540a45e49;hb=4fad7c0fbcdc7c359a852db081dc5db15a9b4db8;hp=17f22e9d7d744399ed7154aa321d1bf5453d73e5;hpb=2ecd4fa47f0f90ff8679460fe35b433a09d45b47;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/integration-api/render-surface.h b/dali/integration-api/render-surface.h old mode 100644 new mode 100755 index 17f22e9..bb36f60 --- a/dali/integration-api/render-surface.h +++ b/dali/integration-api/render-surface.h @@ -48,6 +48,12 @@ class GraphicsInterface; */ typedef Dali::Rect PositionSize; +/** + * @brief The Rect of partial updated area + */ +typedef Dali::Rect DamagedRect; + + namespace Integration { @@ -103,6 +109,12 @@ public: virtual void GetDpi( unsigned int& dpiHorizontal, unsigned int& dpiVertical ) = 0; /** + * @brief Return the orientation of the surface. + * @return The orientation + */ + virtual int GetOrientation() const = 0; + + /** * @brief InitializeGraphics the platform specific graphics surface interfaces */ virtual void InitializeGraphics() = 0; @@ -184,16 +196,16 @@ public: virtual Integration::StencilBufferAvailable GetStencilBufferRequired() = 0; /** - * @brief Sets the background color of the surface. - * @param[in] color The new background color + * @brief Sets currentframe updated/damaged rects + * @return The Rect of partial updated area */ - virtual void SetBackgroundColor(Vector4 color) = 0; + virtual void SetDamagedRect( const DamagedRect& damagedRect, DamagedRect& mergedRect ) = 0; /** - * @brief Gets the background color of the surface. - * @return The background color + * @brief Gets buffer age + * @return current buffer age */ - virtual Vector4 GetBackgroundColor() = 0; + virtual int32_t GetBufferAge() = 0; private: