(VectorRenderer) Remove unused function 22/212022/3
authorHeeyong Song <heeyong.song@samsung.com>
Tue, 13 Aug 2019 09:41:11 +0000 (18:41 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Mon, 26 Aug 2019 01:41:44 +0000 (01:41 +0000)
Change-Id: I2ab392d3ba63ef611fedf203a1941d435b4dacd8

dali/devel-api/adaptor-framework/vector-animation-renderer-plugin.h
dali/devel-api/adaptor-framework/vector-animation-renderer.cpp
dali/devel-api/adaptor-framework/vector-animation-renderer.h
dali/internal/imaging/tizen/native-image-source-queue-impl-tizen.cpp
dali/internal/vector-animation/common/vector-animation-renderer-impl.cpp
dali/internal/vector-animation/common/vector-animation-renderer-impl.h
dali/internal/vector-animation/common/vector-animation-renderer-plugin-proxy.cpp
dali/internal/vector-animation/common/vector-animation-renderer-plugin-proxy.h

index 122f8f1..3669695 100644 (file)
@@ -67,11 +67,6 @@ public:
   virtual void SetSize( uint32_t width, uint32_t height ) = 0;
 
   /**
-   * @brief Stops the rendering.
-   */
-  virtual void StopRender() = 0;
-
-  /**
    * @brief Renders the content to the target buffer synchronously.
    *
    * @param[in] frameNumber The frame number to be rendered
index 33609c0..906e87c 100755 (executable)
@@ -69,11 +69,6 @@ void VectorAnimationRenderer::SetSize( uint32_t width, uint32_t height )
   GetImplementation( *this ).SetSize( width, height );
 }
 
-void VectorAnimationRenderer::StopRender()
-{
-  GetImplementation( *this ).StopRender();
-}
-
 bool VectorAnimationRenderer::Render( uint32_t frameNumber )
 {
   return GetImplementation( *this ).Render( frameNumber );
index 58ff243..cc8a6c3 100755 (executable)
@@ -97,11 +97,6 @@ public:
   void SetSize( uint32_t width, uint32_t height );
 
   /**
-   * @brief Stops the rendering.
-   */
-  void StopRender();
-
-  /**
    * @brief Renders the content to the target buffer synchronously.
    *
    * @param[in] frameNumber The frame number to be rendered
index 9288c40..e7fa554 100644 (file)
@@ -145,6 +145,11 @@ void NativeImageSourceQueueTizen::Initialize( Dali::NativeImageSourceQueue::Colo
     }
 
     mTbmQueue = tbm_surface_queue_create( TBM_SURFACE_QUEUE_SIZE, mWidth, mHeight, format, 0 );
+    if( !mTbmQueue )
+    {
+      DALI_LOG_ERROR( "NativeImageSourceQueueTizen::Initialize: tbm_surface_queue_create is failed! [%p]\n", mTbmQueue );
+      return;
+    }
 
     mOwnTbmQueue = true;
   }
index 2e09da8..8c7a649 100644 (file)
@@ -75,11 +75,6 @@ void VectorAnimationRenderer::SetSize( uint32_t width, uint32_t height )
   mPlugin.SetSize( width, height );
 }
 
-void VectorAnimationRenderer::StopRender()
-{
-  mPlugin.StopRender();
-}
-
 bool VectorAnimationRenderer::Render( uint32_t frameNumber )
 {
   return mPlugin.Render( frameNumber );
index b530e4a..7bdafb5 100755 (executable)
@@ -67,11 +67,6 @@ public:
   void SetSize( uint32_t width, uint32_t height );
 
   /**
-   * @copydoc Dali::VectorAnimationRenderer::StopRender()
-   */
-  void StopRender();
-
-  /**
    * @copydoc Dali::VectorAnimationRenderer::Render()
    */
   bool Render( uint32_t frameNumber );
index fca9eb2..c3cb5b4 100644 (file)
@@ -125,14 +125,6 @@ void VectorAnimationRendererPluginProxy::SetSize( uint32_t width, uint32_t heigh
   }
 }
 
-void VectorAnimationRendererPluginProxy::StopRender()
-{
-  if( mPlugin )
-  {
-    mPlugin->StopRender();
-  }
-}
-
 bool VectorAnimationRendererPluginProxy::Render( uint32_t frameNumber )
 {
   if( mPlugin )
index e6f1e5b..4f56692 100644 (file)
@@ -63,11 +63,6 @@ public:
   void SetSize( uint32_t width, uint32_t height );
 
   /**
-   * @copydoc Dali::VectorAnimationRendererPlugin::StopRender()
-   */
-  void StopRender();
-
-  /**
    * @copydoc Dali::VectorAnimationRendererPlugin::Render()
    */
   bool Render( uint32_t frameNumber );