Generate url and load texture from encoded image buffer
Make some way to load image from raw-buffer stream.
This raw-buffer will alive when some actor contain this buffer.
Limitation : animated-image, vector-image, animated-vector-image not working now. Will support another patch
1. Generate url from encoded raw buffer like this
ImageUrl url = Toolkit::Image::GenerateUrl(const EncodedImageBuffer &);
2. When we use URL as this string, we can load it like normal LOCAL file.
ImageView imageView = Toolkit::ImageView::New(url.GetUrl());
3. Buffer will automatically removed when ImageUrl scope is out-of-date, and no actor use it.
NOTE : even ImageUrl lifecycle is done, cached texture can use internally.
Change-Id: I517d9526d13a6b761792dcb7054864643f209b67
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
25 files changed: