Bug 1347249 - Block EGL_KHR_create_context on Android r=jgilbert
MozReview-Commit-ID: IEfddrP9FFn
--- a/gfx/gl/GLLibraryEGL.cpp
+++ b/gfx/gl/GLLibraryEGL.cpp
@@ -592,16 +592,23 @@ GLLibraryEGL::EnsureInitialized(bool for
END_OF_SYMBOLS
};
if (!fnLoadSymbols(nativeFenceSymbols)) {
NS_ERROR("EGL supports ANDROID_native_fence_sync without exposing its functions!");
MarkExtensionUnsupported(ANDROID_native_fence_sync);
}
}
+#ifdef MOZ_WIDGET_ANDROID
+ // This doesn't seem to work on some devices, but EGL_EXT_create_context_robustness does, so just
+ // block this one.
+ MarkExtensionUnsupported(KHR_create_context);
+ //MarkExtensionUnsupported(EXT_create_context_robustness);
+#endif
+
mInitialized = true;
reporter.SetSuccessful();
return true;
}
#undef SYMBOL
#undef END_OF_SYMBOLS