From: Wonsik Jung Date: Mon, 2 Dec 2019 06:35:05 +0000 (+0900) Subject: Revert "[Tizen] (Vector) Add Finalize method" X-Git-Tag: submit/tizen_5.5/20191202.074058~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd1755839438bb6295f868b6313ea911429f87de;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git Revert "[Tizen] (Vector) Add Finalize method" This reverts commit 51051095881ab67ce6d8af324110717f8ab0e7f7. --- diff --git a/dali/devel-api/adaptor-framework/vector-animation-renderer-plugin.h b/dali/devel-api/adaptor-framework/vector-animation-renderer-plugin.h index 1a31f23..a640f3c 100644 --- a/dali/devel-api/adaptor-framework/vector-animation-renderer-plugin.h +++ b/dali/devel-api/adaptor-framework/vector-animation-renderer-plugin.h @@ -57,11 +57,6 @@ public: virtual bool Initialize( const std::string& url ) = 0; /** - * @brief Finalizes the renderer. It will be called in the main thread. - */ - virtual void Finalize() = 0; - - /** * @brief Sets the renderer used to display the result image. * * @param[in] renderer The renderer used to display the result image diff --git a/dali/devel-api/adaptor-framework/vector-animation-renderer.cpp b/dali/devel-api/adaptor-framework/vector-animation-renderer.cpp index bf61154..f55d839 100755 --- a/dali/devel-api/adaptor-framework/vector-animation-renderer.cpp +++ b/dali/devel-api/adaptor-framework/vector-animation-renderer.cpp @@ -59,11 +59,6 @@ VectorAnimationRenderer& VectorAnimationRenderer::operator=( const VectorAnimati return *this; } -void VectorAnimationRenderer::Finalize() -{ - GetImplementation( *this ).Finalize(); -} - void VectorAnimationRenderer::SetRenderer( Renderer renderer ) { GetImplementation( *this ).SetRenderer( renderer ); diff --git a/dali/devel-api/adaptor-framework/vector-animation-renderer.h b/dali/devel-api/adaptor-framework/vector-animation-renderer.h index af01253..5db1122 100755 --- a/dali/devel-api/adaptor-framework/vector-animation-renderer.h +++ b/dali/devel-api/adaptor-framework/vector-animation-renderer.h @@ -85,11 +85,6 @@ public: VectorAnimationRenderer& operator=( const VectorAnimationRenderer& rhs ); /** - * @brief Finalizes the renderer. - */ - void Finalize(); - - /** * @brief Sets the renderer used to display the result image. * * @param[in] renderer The renderer used to display the result image diff --git a/dali/internal/vector-animation/common/vector-animation-renderer-impl.cpp b/dali/internal/vector-animation/common/vector-animation-renderer-impl.cpp index a677418..b1e3a17 100644 --- a/dali/internal/vector-animation/common/vector-animation-renderer-impl.cpp +++ b/dali/internal/vector-animation/common/vector-animation-renderer-impl.cpp @@ -65,11 +65,6 @@ void VectorAnimationRenderer::Initialize( const std::string& url ) mPlugin.Initialize( url ); } -void VectorAnimationRenderer::Finalize() -{ - mPlugin.Finalize(); -} - void VectorAnimationRenderer::SetRenderer( Dali::Renderer renderer ) { mPlugin.SetRenderer( renderer ); diff --git a/dali/internal/vector-animation/common/vector-animation-renderer-impl.h b/dali/internal/vector-animation/common/vector-animation-renderer-impl.h index 9d9aee5..5ede97e 100755 --- a/dali/internal/vector-animation/common/vector-animation-renderer-impl.h +++ b/dali/internal/vector-animation/common/vector-animation-renderer-impl.h @@ -57,11 +57,6 @@ public: void Initialize( const std::string& url ); /** - * @copydoc Dali::VectorAnimationRenderer::Finalize() - */ - void Finalize(); - - /** * @copydoc Dali::VectorAnimationRenderer::SetRenderer() */ void SetRenderer( Dali::Renderer renderer ); diff --git a/dali/internal/vector-animation/common/vector-animation-renderer-plugin-proxy.cpp b/dali/internal/vector-animation/common/vector-animation-renderer-plugin-proxy.cpp index e171c8e..009312b 100644 --- a/dali/internal/vector-animation/common/vector-animation-renderer-plugin-proxy.cpp +++ b/dali/internal/vector-animation/common/vector-animation-renderer-plugin-proxy.cpp @@ -110,14 +110,6 @@ bool VectorAnimationRendererPluginProxy::Initialize( const std::string& url ) return false; } -void VectorAnimationRendererPluginProxy::Finalize() -{ - if( mPlugin ) - { - mPlugin->Finalize(); - } -} - void VectorAnimationRendererPluginProxy::SetRenderer( Dali::Renderer renderer ) { if( mPlugin ) diff --git a/dali/internal/vector-animation/common/vector-animation-renderer-plugin-proxy.h b/dali/internal/vector-animation/common/vector-animation-renderer-plugin-proxy.h index ed1e6d0..17ba06b 100644 --- a/dali/internal/vector-animation/common/vector-animation-renderer-plugin-proxy.h +++ b/dali/internal/vector-animation/common/vector-animation-renderer-plugin-proxy.h @@ -53,11 +53,6 @@ public: bool Initialize( const std::string& url ); /** - * @copydoc Dali::VectorAnimationRendererPlugin::Finalize() - */ - void Finalize(); - - /** * @copydoc Dali::VectorAnimationRendererPlugin::SetRenderer() */ void SetRenderer( Dali::Renderer renderer );