[Tizen] Reduce KeepRendering time in Vector visual 27/246827/1
authorHeeyong Song <heeyong.song@samsung.com>
Wed, 4 Nov 2020 09:17:56 +0000 (18:17 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Wed, 4 Nov 2020 09:17:56 +0000 (18:17 +0900)
Change-Id: I64844853d7a8cb05c362cfa9910f31163e089b8d

dali-toolkit/internal/visuals/animated-vector-image/animated-vector-image-visual.cpp

index d40eb18..b725252 100644 (file)
@@ -513,7 +513,7 @@ void AnimatedVectorImageVisual::TriggerVectorRasterization()
 {
   if( !mRasterizationTriggered )
   {
-    Stage::GetCurrent().KeepRendering( 1.0f );  // Trigger event processing
+    Stage::GetCurrent().KeepRendering( 0.1f );  // Trigger event processing
 
     Adaptor::Get().RegisterProcessor( *this );
     mRasterizationTriggered = true;
@@ -534,7 +534,7 @@ void AnimatedVectorImageVisual::OnScaleNotification( PropertyNotification& sourc
     SetVectorImageSize();
     SendAnimationData();
 
-    Stage::GetCurrent().KeepRendering( 1.0f );  // Trigger event processing
+    Stage::GetCurrent().KeepRendering( 0.1f );  // Trigger event processing
   }
 }
 
@@ -552,7 +552,7 @@ void AnimatedVectorImageVisual::OnSizeNotification( PropertyNotification& source
     SetVectorImageSize();
     SendAnimationData();
 
-    Stage::GetCurrent().KeepRendering( 1.0f );  // Trigger event processing
+    Stage::GetCurrent().KeepRendering( 0.1f );  // Trigger event processing
   }
 }