return false;
}
+void TizenVectorAnimationRenderer::GetMarkerInfo(Property::Map& map) const
+{
+ Dali::Mutex::ScopedLock lock(mMutex);
+
+ if(mVectorRenderer)
+ {
+ auto markerList = mVectorRenderer->markers();
+ for(auto&& iter : markerList)
+ {
+ Property::Array frames;
+ frames.PushBack(std::get<1>(iter));
+ frames.PushBack(std::get<2>(iter));
+ map.Add(std::get<0>(iter), frames);
+ }
+ }
+}
+
void TizenVectorAnimationRenderer::InvalidateBuffer()
{
Dali::Mutex::ScopedLock lock(mMutex);
bool GetMarkerInfo(const std::string& marker, uint32_t& startFrame, uint32_t& endFrame) const override;
/**
+ * @copydoc Dali::VectorAnimationRendererPlugin::GetMarkerInfo()
+ */
+ void GetMarkerInfo(Property::Map& map) const override;
+
+ /**
* @copydoc Dali::VectorAnimationRendererPlugin::InvalidateBuffer()
*/
void InvalidateBuffer() override;
private:
using SurfacePair = std::pair<tbm_surface_h, rlottie::Surface>;
- std::string mUrl; ///< The content file path
- std::vector<SurfacePair> mBuffers; ///< EGL Image vector
+ std::string mUrl; ///< The content file path
+ std::vector<SurfacePair> mBuffers; ///< EGL Image vector
std::vector<std::unique_ptr<CallbackBase>> mPropertyCallbacks; ///< Property callback list
mutable Dali::Mutex mMutex; ///< Mutex