[Tizen] Implement partial update
[platform/core/uifw/dali-core.git] / dali / integration-api / render-surface.h
old mode 100644 (file)
new mode 100755 (executable)
index 2270fc2..6b71036
@@ -24,6 +24,7 @@
 #include <dali/public-api/object/any.h>
 #include <dali/public-api/common/view-mode.h>
 #include <dali/integration-api/core-enumerations.h>
+#include <vector>
 
 namespace Dali
 {
@@ -103,6 +104,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;
@@ -183,6 +190,18 @@ public:
    */
   virtual Integration::StencilBufferAvailable GetStencilBufferRequired() = 0;
 
+  /**
+   * @brief Sets currentframe updated/damaged rects
+   * @return
+   */
+  virtual Rect<int32_t> SetDamagedRect( Rect<int32_t> damagedRectArray ) = 0;
+
+  /**
+   * @brief Gets buffer age
+   * @return current buffer age
+   */
+  virtual int32_t GetBufferAge() = 0;
+
 private:
 
   /**