Revert "[Tizen] Implement partial update"
[platform/core/uifw/dali-core.git] / dali / internal / update / nodes / node.h
index dc7802c..5cd6073 100755 (executable)
@@ -182,7 +182,6 @@ public:
    */
   void SetClippingMode( const ClippingMode::Type clippingMode )
   {
-    SetPropertyDirty( true );
     mClippingMode = clippingMode;
   }
 
@@ -314,7 +313,6 @@ public:
    */
   void SetDirtyFlag( NodePropertyFlags flag )
   {
-    SetPropertyDirty( true );
     mDirtyFlags |= flag;
   }
 
@@ -686,7 +684,6 @@ public:
    */
   void SetDrawMode( const DrawMode::Type& drawMode )
   {
-    SetPropertyDirty( true );
     mDrawMode = drawMode;
   }
 
@@ -723,7 +720,6 @@ public:
    */
   void SetDepthIndex( uint32_t depthIndex )
   {
-    SetPropertyDirty( true );
     mDepthIndex = depthIndex;
   }
 
@@ -769,52 +765,6 @@ public:
     return mCulled[bufferIndex];
   }
 
-  /**
- * @Is component changed
- * @Return true if component is changed else false
- */
-  bool IsComponentChanged() const
-  {
-    return (mTransformId != INVALID_TRANSFORM_ID) &&
-           (mTransformManager->IsComponentChanged( mTransformId ));
-  }
-
-  /**
-   * Retrieve the update size hint of the node
-   * @return A vector3 describing the update size hint
-   */
-  void GetUpdateSizeHint( BufferIndex bufferIndex, Vector3& updateSizeHint ) const
-  {
-    if( mTransformId != INVALID_TRANSFORM_ID )
-    {
-      mTransformManager->GetUpdateSizeHint( mTransformId, updateSizeHint );
-    }
-  }
-
-  /** 
-   * 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
-   */
-  virtual void SetPropertyDirty( bool value );
-
-  /**
-   * Query the property status following rendering of a frame.
-   * @return True if the property has changed
-   */
-  virtual bool IsPropertyDirty() const;
-
 public:
   /**
    * @copydoc UniformMap::Add
@@ -927,7 +877,6 @@ public: // Default properties
   TransformManagerPropertyVector3    mPosition;               ///< Local transform; distance between parent-origin & anchor-point
   TransformManagerPropertyQuaternion mOrientation;            ///< Local transform; rotation relative to parent node
   TransformManagerPropertyVector3    mScale;                  ///< Local transform; scale relative to parent node
-  TransformManagerPropertyVector3    mUpdateSizeHint;         ///< Local transform; update size hint is provided for partial update
 
   AnimatableProperty<bool>           mVisible;                ///< Visibility can be inherited from the Node hierachy
   AnimatableProperty<bool>           mCulled;                 ///< True if the node is culled. This is not animatable. It is just double-buffered.
@@ -972,8 +921,6 @@ 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;
 };