[Scummvm-git-logs] scummvm master -> cc47ebd314f6551d40baf1829420f5aa3ea08308
ccawley2011
noreply at scummvm.org
Sun Feb 12 19:27:58 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:
cc47ebd314 OPENGL: Add debug output for more features
Commit: cc47ebd314f6551d40baf1829420f5aa3ea08308
https://github.com/scummvm/scummvm/commit/cc47ebd314f6551d40baf1829420f5aa3ea08308
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2023-02-12T19:27:47Z
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 f66b8227d80..da9e36911ee 100644
--- a/graphics/opengl/context.cpp
+++ b/graphics/opengl/context.cpp
@@ -103,7 +103,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,
@@ -140,7 +139,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);
@@ -290,6 +288,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);
@@ -298,6 +297,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);
@@ -307,6 +307,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);
debug(5, "OpenGL: Texture max level support: %d", textureMaxLevelSupported);
}
More information about the Scummvm-git-logs
mailing list