[Tizen] Implement partial update
[platform/core/uifw/dali-core.git] / dali / integration-api / render-surface.h
index 6cb82c0..bb36f60 100755 (executable)
@@ -48,6 +48,12 @@ class GraphicsInterface;
  */
 typedef Dali::Rect<int> PositionSize;
 
+/**
+ * @brief The Rect of partial updated area
+ */
+typedef Dali::Rect<int32_t> DamagedRect;
+
+
 namespace Integration
 {
 
@@ -191,9 +197,9 @@ public:
 
   /**
    * @brief Sets currentframe updated/damaged rects
-   * @return
+   * @return The Rect of partial updated area
    */
-  virtual Rect<int32_t> SetDamagedRect( const Rect<int32_t>& damagedRectArray ) = 0;
+  virtual void SetDamagedRect( const DamagedRect& damagedRect, DamagedRect& mergedRect ) = 0;
 
   /**
    * @brief Gets buffer age