#define DALI_INTERNAL_VECTOR_ANIMATION_RENDERER_PLUGIN_PROXY_H
/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
bool Render(uint32_t frameNumber);
/**
+ * @copydoc Dali::VectorAnimationRendererPlugin::Render()
+ */
+ void RenderStopped();
+
+ /**
* @copydoc Dali::VectorAnimationRendererPlugin::GetTotalFrameNumber()
*/
uint32_t GetTotalFrameNumber() const;
bool GetMarkerInfo(const std::string& marker, uint32_t& startFrame, uint32_t& endFrame) const;
/**
- * @copydoc Dali::VectorAnimationRendererPlugin::IgnoreRenderedFrame()
+ * @copydoc Dali::VectorAnimationRendererPlugin::InvalidateBuffer()
*/
- void IgnoreRenderedFrame();
+ void InvalidateBuffer();
+
+ /**
+ * @copydoc Dali::VectorAnimationRendererPlugin::AddPropertyValueCallback()
+ */
+ void AddPropertyValueCallback(const std::string& keyPath, Dali::VectorAnimationRenderer::VectorProperty property, CallbackBase* callback, int32_t id);
+
+ void KeepRasterizedBuffer();
/**
* @copydoc Dali::VectorAnimationRendererPlugin::UploadCompletedSignal()
private:
/**
- * Vector Animation formats.
- */
- enum class AnimationFormat
- {
- NONE = 0,
- JSON,
- RIVE
- };
-
- /**
* Dynamically loads the plugin.
*/
- void Initialize(AnimationFormat format);
+ void Initialize();
private:
using CreateVectorAnimationRendererFunction = Dali::VectorAnimationRendererPlugin* (*)();