зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1670545 - Disable mesa_glthread on X11/EGL, r=aosmond
The combination currently triggers crashes - not on Wayland though. Put the code into non-shared code to not clutter `GLContextProviderEGL`. Differential Revision: https://phabricator.services.mozilla.com/D125403
This commit is contained in:
Родитель
2df2b827f0
Коммит
52802a49bc
|
@ -166,6 +166,11 @@ void gfxPlatformGtk::InitX11EGLConfig() {
|
|||
feature.ForceDisable(FeatureStatus::Broken, "glxtest could not use EGL",
|
||||
"FEATURE_FAILURE_GLXTEST_NO_EGL"_ns);
|
||||
}
|
||||
|
||||
if (feature.IsEnabled() && IsX11Display()) {
|
||||
// Enabling glthread crashes on X11/EGL, see bug 1670545
|
||||
PR_SetEnv("mesa_glthread=false");
|
||||
}
|
||||
#else
|
||||
feature.DisableByDefault(FeatureStatus::Unavailable, "X11 support missing",
|
||||
"FEATURE_FAILURE_NO_X11"_ns);
|
||||
|
|
Загрузка…
Ссылка в новой задаче