From a1707a74bedbf3fe247c491ee6b4697d92e41573 Mon Sep 17 00:00:00 2001 From: "huiyu.eun" Date: Wed, 5 Sep 2018 13:30:53 +0900 Subject: [PATCH] [NUI][Non-ACR][Show the backend type] Change-Id: Iad11d0fb28961e222627b7aeab713037cfd33213 Signed-off-by: huiyu.eun --- tct-suite-vs/Tizen.NUI.Tests/Program.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tct-suite-vs/Tizen.NUI.Tests/Program.cs b/tct-suite-vs/Tizen.NUI.Tests/Program.cs index e9a7437f4..eae134da2 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/Program.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/Program.cs @@ -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); -- 2.34.1