#define DALI_INTERNAL_PROPERTY_BUFFER_H
/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2018 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.
/**
* @copydoc PropertBuffer::SetData()
*/
- void SetData( const void* data, std::size_t size );
+ void SetData( const void* data, uint32_t size );
/**
* @copydoc PropertBuffer::GetSize()
*/
- std::size_t GetSize() const;
+ uint32_t GetSize() const;
public: // Default property extensions from Object
private: // data
EventThreadServices& mEventThreadServices; ///<Used to send messages to the render thread via update thread
- Render::PropertyBuffer* mRenderObject; ///<Render side object
-
- Property::Map mFormat; ///< Format of the property buffer
- const Render::PropertyBuffer::Format* mBufferFormat; ///< Metadata for the format of the property buffer
- unsigned int mSize; ///< Number of elements in the buffer
- Dali::Vector< char > mBuffer; // Data of the property-buffer
+ Render::PropertyBuffer* mRenderObject; ///<Render side object
+ uint32_t mBufferFormatSize;
+ uint32_t mSize; ///< Number of elements in the buffer
};
/**
template<> struct PropertyImplementationType< Property::RECTANGLE > { typedef Rect<int> Type; };
template<> struct PropertyImplementationType< Property::ROTATION > { typedef Quaternion Type; };
-unsigned int GetPropertyImplementationSize( Property::Type& propertyType );
+uint32_t GetPropertyImplementationSize( Property::Type& propertyType );
} // namespace Internal