X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Frender%2Fdata-providers%2Fproperty-buffer-data-provider.h;h=51c8f6448281b4ede0503f2b1e36a16f68d93248;hb=4d75040ab200bd306ec5a48f2a617480062eef4c;hp=f2a9ba738492370feafd2f28825eef61ff9f078f;hpb=6e7f48188a239b060512231cc6acbe821c703caa;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/render/data-providers/property-buffer-data-provider.h b/dali/internal/render/data-providers/property-buffer-data-provider.h index f2a9ba7..51c8f64 100644 --- a/dali/internal/render/data-providers/property-buffer-data-provider.h +++ b/dali/internal/render/data-providers/property-buffer-data-provider.h @@ -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 -#include #include 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