lottie/example: workaround to render at 60fps. 68/184668/2
authorsubhransu mohanty <sub.mohanty@samsung.com>
Fri, 20 Jul 2018 05:04:33 +0000 (14:04 +0900)
committerHermet Park <chuneon.park@samsung.com>
Fri, 20 Jul 2018 05:45:31 +0000 (05:45 +0000)
Change-Id: I6e2ad981467679357a75310027d9482a28e1bc94

example/lottieviewtest.cpp

index 838b9c8..180201d 100644 (file)
@@ -20,6 +20,7 @@ public:
   LottieViewTest(EvasApp *app, bool renderMode) {
       mApp = app;
       mRenderMode = renderMode;
+      ecore_animator_frametime_set(1.0/120.0);
   }
 
   void show(int numberOfImage) {
@@ -96,7 +97,7 @@ main(int argc, char **argv)
            renderMode = false;
    }
    LottieViewTest *view = new LottieViewTest(app, renderMode);
-   view->show(400);
+   view->show(250);
 
    app->addExitCb(onExitCb, view);
    app->addRenderPreCb(onRenderPreCb, view);