[NUI][Non-ACR][Show the backend type] 25/188425/2
authorhuiyu.eun <huiyu.eun@samsung.com>
Wed, 5 Sep 2018 04:30:53 +0000 (13:30 +0900)
committerhuiyu.eun <huiyu.eun@samsung.com>
Wed, 5 Sep 2018 05:03:04 +0000 (14:03 +0900)
Change-Id: Iad11d0fb28961e222627b7aeab713037cfd33213
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
tct-suite-vs/Tizen.NUI.Tests/Program.cs

index e9a7437..eae134d 100755 (executable)
@@ -65,7 +65,15 @@ namespace Tizen.NUI.Test
 
             MainTitle = new TextLabel();
             MainTitle.MultiLine = true;
-            MainTitle.Text = Title + $"Process ID: {Process.GetCurrentProcess().Id} \nThread ID: {Thread.CurrentThread.ManagedThreadId}";
+            MainTitle.Text = Title + $"Process ID: {Process.GetCurrentProcess().Id} \nThread ID: {Thread.CurrentThread.ManagedThreadId}\n\n" + "Backend: ";
+            if (GraphicsBackend() == Graphics.BackendType.Gles)
+            {
+                MainTitle.Text+="GL\n";
+            }
+            else
+            {
+                MainTitle.Text+="Vulkan\n";
+            }
             MainTitle.PixelSize = TextSize;
             MainTitle.BackgroundColor = new Color(rand.Next(250) / 255.0f, rand.Next(250) / 255.0f, rand.Next(250) / 255.0f, 1.0f);
             MainTitle.Size2D = new Size2D(window.WindowSize.Width / 2, window.WindowSize.Height / 2);