Skip to content

Commit 8d6486a

Browse files
committed
Do not force gl-egl ANGLE backend on Linux
Let Chromium decide which ANGLE backend to use by keeping "default" setting. The "gl" backend is available since 75b0d12 Add "default" and "gl" ANGLE implementation support to Ozone Reportedly, the "gl-egl" backend doesn't work properly with certain GPU drivers under X11. Task-number: QTBUG-135786 Pick-to: 6.8 6.9 Change-Id: I1592e3c480059b0cd17831ba375ff709f00791cc Reviewed-by: Allan Sandfeld Jensen <[email protected]>
1 parent 4bf8f28 commit 8d6486a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/core/web_engine_context.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -882,18 +882,11 @@ WebEngineContext::WebEngineContext()
882882
== gl::kGLImplementationANGLEName);
883883
}
884884

885-
if (usingANGLE && !parsedCommandLine->HasSwitch(switches::kUseANGLE)) {
886-
parsedCommandLine->AppendSwitchASCII(switches::kUseANGLE,
887-
gl::kANGLEImplementationOpenGLEGLName);
888-
}
889-
890885
#if QT_CONFIG(webengine_vulkan)
891886
if (QQuickWindow::graphicsApi() == QSGRendererInterface::OpenGL && usingSupportedSGBackend()) {
892887
if (usingANGLE && !isGbmSupported()) {
893888
qWarning("GBM is not supported with the current configuration. "
894889
"Fallback to Vulkan rendering in Chromium.");
895-
parsedCommandLine->AppendSwitchASCII(switches::kUseANGLE,
896-
gl::kANGLEImplementationDefaultName);
897890
parsedCommandLine->AppendSwitchASCII(switches::kUseVulkan,
898891
switches::kVulkanImplementationNameNative);
899892
enableFeatures.push_back(features::kVulkan.name);

0 commit comments

Comments
 (0)