test: print current backend engine name 31/237331/1
authorHermet Park <chuneon.park@samsung.com>
Mon, 29 Jun 2020 07:26:02 +0000 (16:26 +0900)
committerHermet Park <chuneon.park@samsung.com>
Mon, 29 Jun 2020 07:26:02 +0000 (16:26 +0900)
Change-Id: Iaafa521556a614b47994914c09228b8e8ae9c9e9

test/testShape.cpp

index e32142f..cd1bab1 100644 (file)
@@ -1,4 +1,5 @@
 #include <thorvg.h>
+#include <iostream>
 #include <Elementary.h>
 
 using namespace std;
@@ -107,6 +108,9 @@ int main(int argc, char **argv)
         if (!strcmp(argv[1], "gl")) swEngine = false;
     }
 
+    if (swEngine) cout << "engine: software" << endl;
+    else cout << "engine: opengl" << endl;
+
     elm_init(argc, argv);
 
     //Show the result using EFL...