Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Add printing of the qt-xcb-gl-integration plugin name to the Krita log

Dmitry Kazakov0da98c5287e5
diff --git a/libs/ui/opengl/kis_opengl.cpp b/libs/ui/opengl/kis_opengl.cpp
index 856bb4dd64..bf7b7b9b26 100644
--- a/libs/ui/opengl/kis_opengl.cpp
+++ b/libs/ui/opengl/kis_opengl.cpp
@@ -170,6 +170,10 @@ void KisOpenGL::initialize()
if (openGLCheckResult) {
debugOut << "\n Qt Platform Name: " << QGuiApplication::platformName();
+ if (openGLCheckResult->xcbGlProviderProtocol()) {
+ debugOut << "\n Qt XCB GL integration plugin: "
+ << (*openGLCheckResult->xcbGlProviderProtocol() == KisOpenGL::XCB_EGL ? "xcb_egl" : "xcb_glx");
+ }
debugOut << "\n Vendor: " << openGLCheckResult->vendorString();
debugOut << "\n Renderer: " << openGLCheckResult->rendererString();
debugOut << "\n Driver version: " << openGLCheckResult->driverVersionString();