diff options
author | wm4 <wm4@nowhere> | 2013-03-01 21:19:20 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-03-28 21:46:17 +0100 |
commit | 6ef06aa145067b816aaf3b941aba11e36bfca545 (patch) | |
tree | 116401ac1bc8fd443e936cd8ae5e8f1424afdd51 /video/out/gl_common.c | |
parent | 16e951c2cdfa6710f0d5cc77b513e0f2a5f1377d (diff) | |
download | mpv-6ef06aa145067b816aaf3b941aba11e36bfca545.tar.bz2 mpv-6ef06aa145067b816aaf3b941aba11e36bfca545.tar.xz |
vo_opengl: split into multiple files, convert to new option API
gl_video.c contains all rendering code, gl_lcms.c the .icc loader and
creation of 3D LUT (and all LittleCMS specific code). vo_opengl.c is
reduced to interfacing between the various parts.
Diffstat (limited to 'video/out/gl_common.c')
-rw-r--r-- | video/out/gl_common.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c index 5437c28f02..685258406a 100644 --- a/video/out/gl_common.c +++ b/video/out/gl_common.c @@ -478,6 +478,12 @@ void mpgl_load_functions(GL *gl, void *(*getProcAddress)(const GLubyte *), gl->version = MPGL_VER(major, minor); mp_msg(MSGT_VO, MSGL_V, "[gl] Detected OpenGL %d.%d.\n", major, minor); + mp_msg(MSGT_VO, MSGL_V, "GL_VENDOR='%s'\n", gl->GetString(GL_VENDOR)); + mp_msg(MSGT_VO, MSGL_V, "GL_RENDERER='%s'\n", gl->GetString(GL_RENDERER)); + mp_msg(MSGT_VO, MSGL_V, "GL_VERSION='%s'\n", gl->GetString(GL_VERSION)); + mp_msg(MSGT_VO, MSGL_V, "GL_SHADING_LANGUAGE_VERSION='%s'\n", + gl->GetString(GL_SHADING_LANGUAGE_VERSION)); + // Note: This code doesn't handle CONTEXT_FORWARD_COMPATIBLE_BIT_ARB // on OpenGL 3.0 correctly. Apparently there's no way to detect this // situation, because GL_ARB_compatibility is specified only for 3.1 |