summaryrefslogtreecommitdiff
path: root/hw/vigs
diff options
context:
space:
mode:
authorjinhyung.jo <jinhyung.jo@samsung.com>2015-07-10 16:25:44 +0900
committerjinhyung.jo <jinhyung.jo@samsung.com>2015-07-14 13:46:23 +0900
commit97c978dc34ee6ed6fe6ff52faba6fe3631572ea1 (patch)
treefae1616353110edd8140b7beff53a46397794578 /hw/vigs
parent3302febc5ab4f5bae58ec82efce78ecdc4f9f095 (diff)
downloadqemu-97c978dc34ee6ed6fe6ff52faba6fe3631572ea1.tar.gz
qemu-97c978dc34ee6ed6fe6ff52faba6fe3631572ea1.tar.bz2
qemu-97c978dc34ee6ed6fe6ff52faba6fe3631572ea1.zip
VIGS: Inform the GL version currently used.
It output only the logs when using the GL backend. Change-Id: I570e57004269b36beec5e034030bc2ef059638e6 Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
Diffstat (limited to 'hw/vigs')
-rw-r--r--hw/vigs/vigs_gl_backend.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/vigs/vigs_gl_backend.c b/hw/vigs/vigs_gl_backend.c
index d7b431be3b..ab14baaa24 100644
--- a/hw/vigs/vigs_gl_backend.c
+++ b/hw/vigs/vigs_gl_backend.c
@@ -2568,6 +2568,13 @@ bool vigs_gl_backend_init(struct vigs_gl_backend *gl_backend)
gl_backend->BindVertexArray(gl_backend->vao);
}
+ VIGS_LOG_INFO("Current GL_VENDOR = %s",
+ (const char *)gl_backend->GetString(GL_VENDOR));
+ VIGS_LOG_INFO("Current GL_RENDERER = %s",
+ (const char *)gl_backend->GetString(GL_RENDERER));
+ VIGS_LOG_INFO("Current GL_VERSION = %s",
+ (const char *)gl_backend->GetString(GL_VERSION));
+
gl_backend->tex_prog_vs_id = vigs_gl_create_shader(gl_backend,
(gl_backend->is_gl_2 ? g_vs_tex_source_gl2 : g_vs_tex_source_gl3),
GL_VERTEX_SHADER);