Add GL rendering profile to debug output
This commit is contained in:
parent
ee078dd988
commit
346c945324
@ -43,6 +43,7 @@ def validateWidgetQGLContext(widget):
|
|||||||
detailedText += "Hardware Accelerated: %s\n" % (actualFormat.directRendering(), )
|
detailedText += "Hardware Accelerated: %s\n" % (actualFormat.directRendering(), )
|
||||||
detailedText += "Depth buffer: %s, %s\n" % (actualFormat.depth(), actualFormat.depthBufferSize())
|
detailedText += "Depth buffer: %s, %s\n" % (actualFormat.depth(), actualFormat.depthBufferSize())
|
||||||
detailedText += "Double buffer: %s\n" % (actualFormat.doubleBuffer(), )
|
detailedText += "Double buffer: %s\n" % (actualFormat.doubleBuffer(), )
|
||||||
|
detailedText += "Rendering profile: %s\n" % (actualFormat.profile(), )
|
||||||
detailedText += "\n"
|
detailedText += "\n"
|
||||||
detailedText += "Driver info:\n"
|
detailedText += "Driver info:\n"
|
||||||
detailedText += "GL_VERSION: %s (%s, %s)\n" % (version, major, minor)
|
detailedText += "GL_VERSION: %s (%s, %s)\n" % (version, major, minor)
|
||||||
|
Reference in New Issue
Block a user