diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2018-05-25 16:14:49 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2018-05-25 14:52:44 +0000 |
commit | 17b1dd544706630c40f8ca75bfff3bf35bf1ec8b (patch) | |
tree | fcceb595197e7f92f893ca21e4691f905b797e6b | |
parent | e57a7059935922fad40e76a846ff594c62294d7f (diff) |
profileui: show more from gfxlimits
...as some of these can be relevant for the quality of rendering.
Change-Id: Iaf5e6ee5d5fc5f2062f99df29edd4e645ba24503
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
-rw-r--r-- | src/runtime/profileui/q3dsprofileui.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/runtime/profileui/q3dsprofileui.cpp b/src/runtime/profileui/q3dsprofileui.cpp index 41c2ba1..7c9876b 100644 --- a/src/runtime/profileui/q3dsprofileui.cpp +++ b/src/runtime/profileui/q3dsprofileui.cpp @@ -214,8 +214,14 @@ void Q3DSProfileView::frame() ImGui::Text("RENDERER: %s", gfxLimits.renderer.constData()); ImGui::Text("VENDOR: %s", gfxLimits.vendor.constData()); ImGui::Text("VERSION: %s", gfxLimits.version.constData()); - ImGui::Text("Multisample textures supported: %s", (gfxLimits.multisampleTextureSupported ? "yes" : "no")); - ImGui::Text("MAX_DRAW_BUFFERS: %d", gfxLimits.maxDrawBuffers); + if (gfxLimits.useGles2Path) { + ImGui::Text("Using limited GLES 2.0 renderer"); + } else { + ImGui::Text("Multisample textures supported: %s", (gfxLimits.multisampleTextureSupported ? "yes" : "no")); + ImGui::Text("Norm16 textures supported: %s", (gfxLimits.norm16TexturesSupported ? "yes" : "no")); + ImGui::Text("MAX_DRAW_BUFFERS: %d", gfxLimits.maxDrawBuffers); + } + ImGui::Text("Max lights per layer: %d", gfxLimits.maxLightsPerLayer); } if (ImGui::CollapsingHeader("Frame rate")) { |