[Tizen] Add codes for Dali Windows Backend
[platform/core/uifw/dali-core.git] / dali / internal / render / data-providers / property-buffer-data-provider.h
index f2a9ba7..51c8f64 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_INTERNAL_SCENE_GRAPH_PROPERTY_BUFFER_DATA_PROVIDER_H
 
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -22,7 +22,6 @@
 
 // INTERNAL INCLUDES
 #include <dali/public-api/object/property.h>
-#include <dali/integration-api/resource-declarations.h>
 #include <dali/internal/common/buffer-index.h>
 
 namespace Dali
@@ -123,6 +122,13 @@ public:
    */
   virtual unsigned int GetGpuBufferId( BufferIndex bufferIndex ) const = 0;
 
+  /**
+   * Checks if data in the PropertyBuffer has changed repect previous frame
+   * @param[in] bufferIndex Index to access double buffered values
+   * @return true if data has changed, false otherwise
+   */
+  virtual bool HasDataChanged( BufferIndex bufferIndex ) const = 0;
+
 protected:
   /**
    * No deletion through this interface