[Tizen] Implement partial update
[platform/core/uifw/dali-core.git] / dali / internal / update / nodes / node.h
index 5600523..e349e10 100755 (executable)
@@ -774,7 +774,7 @@ public:
  * @Is component changed
  * @Return true if component is changed else false
  */
-  bool IsComponentChanged()
+  bool IsComponentChanged() const
   {
     return (mTransformId != INVALID_TRANSFORM_ID) &&
            (mTransformManager->IsComponentChanged( mTransformId ));
@@ -784,14 +784,12 @@ public:
    * Retrieve the update size hint of the node
    * @return A vector3 describing the update size hint
    */
-  const Vector3& GetUpdateSizeHint( BufferIndex bufferIndex ) const
+  void GetUpdateSizeHint( BufferIndex bufferIndex, Vector3& updateSizeHint ) const
   {
     if( mTransformId != INVALID_TRANSFORM_ID )
     {
-      return mTransformManager->GetUpdateSizeHint( mTransformId );
+      mTransformManager->GetUpdateSizeHint( mTransformId, updateSizeHint );
     }
-
-    return Vector3::ZERO;
   }
 
   /**