[Tizen] Implement partial update
[platform/core/uifw/dali-core.git] / dali / internal / update / nodes / node.h
index e349e10..dc7802c 100755 (executable)
@@ -323,7 +323,6 @@ public:
    */
   void SetAllDirtyFlags()
   {
-    SetPropertyDirty( true );
     mDirtyFlags = NodePropertyFlags::ALL;
   }
 
@@ -792,6 +791,18 @@ public:
     }
   }
 
+  /** 
+   * Set Whether the partial update is available
+   * @param[in] partialUpdateAvailable value Set to true if the partial update is available
+   */
+  void SetPartialUpdateAvailable( bool value );
+
+  /** 
+   * Retrieve the whether the partial update is available
+   * @return true if the partial update is available
+   */
+  bool IsPartialUpdateAvailable() const;
+
   /**
    * Set whether partial update needs to run following a render.
    * @param[in] value Set to true if an partial update is required to be run
@@ -961,6 +972,8 @@ protected:
   bool                               mIsLayer:1;              ///< True if the node is a layer
   bool                               mPositionUsesAnchorPoint:1; ///< True if the node should use the anchor-point when calculating the position
 
+  bool                               mPartialUpdateAvailable;  ///< True if the partial update is available
+
   // Changes scope, should be at end of class
   DALI_LOG_OBJECT_STRING_DECLARATION;
 };