* @param[in] nativeImageSourceQueue contains tbm_surface_queue_h or is empty
* @return A smart-pointer to a newly allocated image.
*/
- static NativeImageSourceQueueX* New(unsigned int width, unsigned int height, Dali::NativeImageSourceQueue::ColorDepth depth, Any nativeImageSourceQueue );
+ static NativeImageSourceQueueX* New( uint32_t width, uint32_t height, Dali::NativeImageSourceQueue::ColorDepth depth, Any nativeImageSourceQueue );
/**
* @copydoc Dali::NativeImageSourceQueue::GetNativeImageSourceQueue()
Any GetNativeImageSourceQueue() const override;
/**
- * @copydoc Dali::NativeImageSourceQueue::SetSource( Any source )
+ * @copydoc Dali::NativeImageSourceQueue::SetSize
*/
- void SetSource( Any source ) override;
+ void SetSize( uint32_t width, uint32_t height ) override;
/**
* destructor
/**
* @copydoc Dali::NativeImageInterface::TargetTexture()
*/
- unsigned int TargetTexture() override;
+ uint32_t TargetTexture() override;
/**
* @copydoc Dali::NativeImageInterface::PrepareTexture()
/**
* @copydoc Dali::NativeImageInterface::GetWidth()
*/
- unsigned int GetWidth() const override
+ uint32_t GetWidth() const override
{
return mWidth;
}
/**
* @copydoc Dali::NativeImageInterface::GetHeight()
*/
- unsigned int GetHeight() const override
+ uint32_t GetHeight() const override
{
return mHeight;
}
* @param[in] colour depth of the image.
* @param[in] nativeImageSourceQueue contains tbm_surface_queue_h or is empty
*/
- NativeImageSourceQueueX( unsigned int width, unsigned int height, Dali::NativeImageSourceQueue::ColorDepth depth, Any nativeImageSourceQueue );
+ NativeImageSourceQueueX( uint32_t width, uint32_t height, Dali::NativeImageSourceQueue::ColorDepth depth, Any nativeImageSourceQueue );
private:
- unsigned int mWidth; ///< image width
- unsigned int mHeight; ///< image height
+ uint32_t mWidth; ///< image width
+ uint32_t mHeight; ///< image height
};