[Scummvm-git-logs] scummvm branch-2-7 -> 08281a921c773f127026181d7d0953385bfee1b9
ccawley2011
noreply at scummvm.org
Sun Feb 12 19:26:09 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
08281a921c OPENGL: Add debug output for more features
Commit: 08281a921c773f127026181d7d0953385bfee1b9
https://github.com/scummvm/scummvm/commit/08281a921c773f127026181d7d0953385bfee1b9
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2023-02-12T19:25:27Z
Commit Message:
OPENGL: Add debug output for more features
Changed paths:
graphics/opengl/context.cpp
diff --git a/graphics/opengl/context.cpp b/graphics/opengl/context.cpp
index 91ba6e02036..d792972d9b4 100644
--- a/graphics/opengl/context.cpp
+++ b/graphics/opengl/context.cpp
@@ -102,7 +102,6 @@ void Context::initialize(ContextType contextType) {
#endif
const char *verString = (const char *)glGetString(GL_VERSION);
- debug(5, "OpenGL version: %s", verString);
if (type == kContextGL) {
// OpenGL version number is either of the form major.minor or major.minor.release,
@@ -139,7 +138,6 @@ void Context::initialize(ContextType contextType) {
// Obtain maximum texture size.
glGetIntegerv(GL_MAX_TEXTURE_SIZE, (GLint *)&maxTextureSize);
- debug(5, "OpenGL maximum texture size: %d", maxTextureSize);
const char *extString = (const char *)glGetString(GL_EXTENSIONS);
@@ -285,6 +283,7 @@ void Context::initialize(ContextType contextType) {
const char *glslVersionString = (const char *)glGetString(GL_SHADING_LANGUAGE_VERSION);
// Log features supported by GL context.
+ debug(5, "OpenGL version: %s", verString);
debug(5, "OpenGL vendor: %s", glGetString(GL_VENDOR));
debug(5, "OpenGL renderer: %s", glGetString(GL_RENDERER));
debug(5, "OpenGL: version %d.%d", majorVersion, minorVersion);
@@ -293,6 +292,7 @@ void Context::initialize(ContextType contextType) {
debug(5, "OpenGL: Max texture size: %d", maxTextureSize);
debug(5, "OpenGL: NPOT texture support: %d", NPOTSupported);
debug(5, "OpenGL: Shader support: %d", shadersSupported);
+ debug(5, "OpenGL: Shader support for engines: %d", enginesShadersSupported);
debug(5, "OpenGL: Multitexture support: %d", multitextureSupported);
debug(5, "OpenGL: FBO support: %d", framebufferObjectSupported);
debug(5, "OpenGL: Multisample FBO support: %d", framebufferObjectMultisampleSupported);
@@ -302,6 +302,8 @@ void Context::initialize(ContextType contextType) {
debug(5, "OpenGL: Unpack subimage support: %d", unpackSubImageSupported);
debug(5, "OpenGL: OpenGL ES depth 24 support: %d", OESDepth24);
debug(5, "OpenGL: Texture edge clamping support: %d", textureEdgeClampSupported);
+ debug(5, "OpenGL: Texture border clamping support: %d", textureBorderClampSupported);
+ debug(5, "OpenGL: Texture mirror repeat support: %d", textureMirrorRepeatSupported);
}
int Context::getGLSLVersion() const {
More information about the Scummvm-git-logs
mailing list