Skip to content

Commit 9cc97f0

Browse files
Michal Klocekjaheikk
authored andcommitted
Disable surfaceless context support
Using surfaceless EGL surface on imx6 embedded device crashes webengine with backtrace in gpu driver. Since this feature requires a bit more testing on embedded platforms disable support for the 5.7.1 release. Task-number: QTBUG-57290 Change-Id: I3ed5b6fc173d184486316a2c3d899a88d4b1de76 Reviewed-by: Allan Sandfeld Jensen <[email protected]>
1 parent b44962c commit 9cc97f0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/core/gl_surface_qt.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,8 @@ bool GLSurfaceQtEGL::InitializeOneOff()
365365
LOG(ERROR) << "eglInitialize failed with error " << GetLastEGLErrorString();
366366
return false;
367367
}
368-
368+
#if 0
369+
// QTBUG-57290
369370
g_egl_surfaceless_context_supported = ExtensionsContain(g_extensions, "EGL_KHR_surfaceless_context");
370371
if (g_egl_surfaceless_context_supported) {
371372
scoped_refptr<GLSurface> surface = new GLSurfacelessQtEGL(Size(1, 1));
@@ -382,7 +383,7 @@ bool GLSurfaceQtEGL::InitializeOneOff()
382383
context->ReleaseCurrent(surface.get());
383384
}
384385
}
385-
386+
#endif
386387
initialized = true;
387388
return true;
388389
}

0 commit comments

Comments
 (0)