(Vector) Support asynchronous file loading
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / visuals / animated-vector-image / vector-rasterize-thread.cpp
index 9a3f909..0ba9f52 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * 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.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -125,11 +125,12 @@ void VectorRasterizeThread::Rasterize()
 
   if(nextTask)
   {
 
   if(nextTask)
   {
-    bool keepAnimation = nextTask->Rasterize();
+    bool keepAnimation;
+    bool success = nextTask->Rasterize(keepAnimation);
 
     if(mCompletedCallback)
     {
 
     if(mCompletedCallback)
     {
-      CallbackBase::Execute(*mCompletedCallback, nextTask, keepAnimation);
+      CallbackBase::Execute(*mCompletedCallback, nextTask, success, keepAnimation);
     }
   }
 }
     }
   }
 }