[Tizen] Fixed Cache for AnimatedVectorImageVisual
[platform/core/uifw/dali-adaptor.git] / dali / internal / vector-animation / common / vector-animation-renderer-plugin-proxy.h
index c105e39..3a97542 100644 (file)
@@ -2,7 +2,7 @@
 #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.
@@ -69,6 +69,11 @@ public:
   bool Render(uint32_t frameNumber);
 
   /**
+   * @copydoc Dali::VectorAnimationRendererPlugin::Render()
+   */
+  void RenderStopped();
+
+  /**
    * @copydoc Dali::VectorAnimationRendererPlugin::GetTotalFrameNumber()
    */
   uint32_t GetTotalFrameNumber() const;
@@ -94,9 +99,16 @@ public:
   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()
@@ -111,19 +123,9 @@ public:
 
 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* (*)();