mPreviousTextures.clear();
}
+void VectorAnimationRendererTizen::OnNotify()
+{
+ // Reset the previous texture to destroy it in the main thread
+ mPreviousTextures.clear();
+}
+
void VectorAnimationRendererTizen::PrepareTarget()
{
mTargetSurface = NativeImageSourceQueue::New(mWidth, mHeight, NativeImageSourceQueue::ColorFormat::RGBA8888);
{}
/**
+ * @copydoc VectorAnimationRenderer::OnNotify()
+ */
+ void OnNotify() override;
+
+ /**
* @copydoc VectorAnimationRenderer::PrepareTarget()
*/
void PrepareTarget() override;
void OnLottieRendered() override;
/**
+ * @copydoc VectorAnimationRenderer::OnNotify()
+ */
+ void OnNotify() override
+ {}
+
+ /**
* @copydoc VectorAnimationRenderer::PrepareTarget()
*/
void PrepareTarget() override;
mResourceReadyTriggered = false;
emitSignal = true;
}
+
+ OnNotify();
}
if(emitSignal)
{
virtual void OnLottieRendered() = 0;
/**
+ * @brief Notify event thread comes
+ */
+ virtual void OnNotify() = 0;
+
+ /**
* @brief Prepare target
*/
virtual void PrepareTarget() = 0;