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
Apply WrapMode in animated visual
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
visuals
/
animated-image
/
rolling-animated-image-cache.h
diff --git
a/dali-toolkit/internal/visuals/animated-image/rolling-animated-image-cache.h
b/dali-toolkit/internal/visuals/animated-image/rolling-animated-image-cache.h
index
f520907
..
8fed2d7
100644
(file)
--- a/
dali-toolkit/internal/visuals/animated-image/rolling-animated-image-cache.h
+++ b/
dali-toolkit/internal/visuals/animated-image/rolling-animated-image-cache.h
@@
-47,7
+47,10
@@
public:
* @param[in] observer FrameReady observer
* @param[in] cacheSize The size of the cache
* @param[in] batchSize The size of a batch to load
* @param[in] observer FrameReady observer
* @param[in] cacheSize The size of the cache
* @param[in] batchSize The size of a batch to load
+ * @param[in] wrapModeU Horizontal Wrap mode
+ * @param[in] wrapModeV Vertical Wrap mode
* @param[in] isSynchronousLoading The flag to define whether to load first frame synchronously
* @param[in] isSynchronousLoading The flag to define whether to load first frame synchronously
+ * @param[in] preMultiplyOnLoad The flag if image's color should be multiplied by it's alpha
*
* This will start loading textures immediately, according to the
* batch and cache sizes.
*
* This will start loading textures immediately, according to the
* batch and cache sizes.
@@
-58,7
+61,10
@@
public:
ImageCache::FrameReadyObserver& observer,
uint16_t cacheSize,
uint16_t batchSize,
ImageCache::FrameReadyObserver& observer,
uint16_t cacheSize,
uint16_t batchSize,
- bool isSynchronousLoading);
+ const Dali::WrapMode::Type& wrapModeU,
+ const Dali::WrapMode::Type& wrapModeV,
+ bool isSynchronousLoading,
+ bool preMultiplyOnLoad);
/**
* @brief Destructor
/**
* @brief Destructor
@@
-180,7
+186,10
@@
private:
std::vector<int32_t> mIntervals;
std::vector<uint32_t> mLoadWaitingQueue;
CircularQueue<ImageFrame> mQueue;
std::vector<int32_t> mIntervals;
std::vector<uint32_t> mLoadWaitingQueue;
CircularQueue<ImageFrame> mQueue;
+ Dali::WrapMode::Type mWrapModeU : 3;
+ Dali::WrapMode::Type mWrapModeV : 3;
bool mIsSynchronousLoading;
bool mIsSynchronousLoading;
+ bool mPreMultiplyOnLoad;
};
} // namespace Internal
};
} // namespace Internal