[Tizen] Implement partial update
[platform/core/uifw/dali-core.git] / dali / internal / update / common / property-owner.h
old mode 100644 (file)
new mode 100755 (executable)
index 843a19b..637d82b
@@ -206,6 +206,18 @@ public:
    */
   void RemoveUniformMapObserver( UniformMap::Observer& observer );
 
+  /**
+   * Set whether property has changed to run following a render.
+   * @param[in] value Set to true if the property has changed
+   */
+  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;
+
 
 protected:
 
@@ -226,6 +238,7 @@ protected:
 
   OwnedPropertyContainer mCustomProperties; ///< Properties provided with InstallCustomProperty()
   UniformMap mUniformMaps; ///< Container of owned uniform maps
+  bool mPropertyDirty:1; ///< Required for marking it dirty in case of partial update.
 
 private: