[Tizen] Implement partial update
[platform/core/uifw/dali-adaptor.git] / dali / internal / graphics / common / graphics-interface.h
old mode 100644 (file)
new mode 100755 (executable)
index 5e80ef7..9b5d4cf
@@ -43,7 +43,8 @@ public:
    */
   GraphicsInterface()
 : mDepthBufferRequired( Integration::DepthBufferAvailable::FALSE ),
-  mStencilBufferRequired( Integration::StencilBufferAvailable::FALSE )
+  mStencilBufferRequired( Integration::StencilBufferAvailable::FALSE ),
+  mPartialUpdateAvailable( Integration::PartialUpdateAvailable::FALSE )
   {
   };
 
@@ -76,6 +77,15 @@ public:
     return mStencilBufferRequired;
   };
 
+  /**
+   * Get whether the partial update is available
+   * @return TRUE if the partial update is available
+   */
+  Integration::PartialUpdateAvailable PartialUpdateAvailable()
+  {
+    return mPartialUpdateAvailable;
+  };
+
 protected:
   /**
    * Virtual protected destructor - no deletion through this interface
@@ -87,6 +97,7 @@ protected:
 
   Integration::DepthBufferAvailable mDepthBufferRequired;       ///< Whether the depth buffer is required
   Integration::StencilBufferAvailable mStencilBufferRequired;   ///< Whether the stencil buffer is required
+  Integration::PartialUpdateAvailable mPartialUpdateAvailable; ///Whether the partial update is available
 };
 
 } // Adaptor