projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add DesiredWidth/Height and samplingMode in animated image visual
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
visuals
/
animated-image
/
fixed-image-cache.h
diff --git
a/dali-toolkit/internal/visuals/animated-image/fixed-image-cache.h
b/dali-toolkit/internal/visuals/animated-image/fixed-image-cache.h
index
c798a66
..
90e2c8f
100644
(file)
--- a/
dali-toolkit/internal/visuals/animated-image/fixed-image-cache.h
+++ b/
dali-toolkit/internal/visuals/animated-image/fixed-image-cache.h
@@
-33,6
+33,9
@@
public:
/**
* Constructor.
* @param[in] textureManager The texture manager
/**
* Constructor.
* @param[in] textureManager The texture manager
+ * @param[in] size The width and height to fit the loaded image to.
+ * @param[in] fittingMode The FittingMode of the resource to load
+ * @param[in] samplingMode The SamplingMode of the resource to load
* @param[in] urlList List of urls to cache
* @param[in] maskingData Masking data to be applied.
* @param[in] observer FrameReady observer
* @param[in] urlList List of urls to cache
* @param[in] maskingData Masking data to be applied.
* @param[in] observer FrameReady observer
@@
-43,6
+46,9
@@
public:
* batch and cache sizes. The cache is as large as the number of urls.
*/
FixedImageCache(TextureManager& textureManager,
* batch and cache sizes. The cache is as large as the number of urls.
*/
FixedImageCache(TextureManager& textureManager,
+ ImageDimensions size,
+ Dali::FittingMode::Type fittingMode,
+ Dali::SamplingMode::Type samplingMode,
UrlList& urlList,
TextureManager::MaskingDataPointer& maskingData,
ImageCache::FrameReadyObserver& observer,
UrlList& urlList,
TextureManager::MaskingDataPointer& maskingData,
ImageCache::FrameReadyObserver& observer,