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
(AnimatedVectorImageVisual) Use the content default size
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
visuals
/
animated-vector-image
/
vector-rasterize-thread.h
diff --git
a/dali-toolkit/internal/visuals/animated-vector-image/vector-rasterize-thread.h
b/dali-toolkit/internal/visuals/animated-vector-image/vector-rasterize-thread.h
index
3c8879e
..
c40e6e9
100644
(file)
--- a/
dali-toolkit/internal/visuals/animated-vector-image/vector-rasterize-thread.h
+++ b/
dali-toolkit/internal/visuals/animated-vector-image/vector-rasterize-thread.h
@@
-154,6
+154,12
@@
public:
*/
float GetCurrentProgress() const;
*/
float GetCurrentProgress() const;
+ /**
+ * @brief Gets the default size of the file,.
+ * @return The default size of the file
+ */
+ void GetDefaultSize( uint32_t& width, uint32_t& height ) const;
+
protected:
/**
protected:
/**
@@
-165,15
+171,9
@@
protected:
private:
/**
private:
/**
- * @brief Called by the rasterize thread which ensures a wait if required.
- * @return false if the thread should stop.
- */
- bool IsThreadReady();
-
- /**
- * @brief Start rendering
+ * @brief Initialize the vector renderer.
*/
*/
-
bool StartRender
();
+
void Initialize
();
/**
* @brief Rasterize the current frame.
/**
* @brief Rasterize the current frame.
@@
-191,7
+191,6
@@
private:
std::string mUrl;
VectorAnimationRenderer mVectorRenderer;
ConditionalWait mConditionalWait;
std::string mUrl;
VectorAnimationRenderer mVectorRenderer;
ConditionalWait mConditionalWait;
- Dali::Mutex mMutex;
std::unique_ptr< EventThreadCallback > mResourceReadyTrigger;
std::unique_ptr< EventThreadCallback > mAnimationFinishedTrigger;
Vector2 mPlayRange;
std::unique_ptr< EventThreadCallback > mResourceReadyTrigger;
std::unique_ptr< EventThreadCallback > mAnimationFinishedTrigger;
Vector2 mPlayRange;
@@
-210,6
+209,7
@@
private:
bool mNeedRender;
bool mDestroyThread; ///< Whether the thread be destroyed
bool mResourceReady;
bool mNeedRender;
bool mDestroyThread; ///< Whether the thread be destroyed
bool mResourceReady;
+ bool mCurrentFrameUpdated;
const Dali::LogFactoryInterface& mLogFactory; ///< The log factory
};
const Dali::LogFactoryInterface& mLogFactory; ///< The log factory
};