Bug 813783 - don't create a global context at all #ifdef ANDROID, including B2G - r=cjones

This commit is contained in:
Benoit Jacob 2012-11-20 21:45:13 -05:00
parent 3d7cc44fd1
commit 59a3487ccc

View File

@ -2606,7 +2606,8 @@ GLContextProviderEGL::GetGlobalContext(const ContextFlags)
{
// Don't want a global context on Android as 1) share groups across 2 threads fail on many Tegra drivers (bug 759225)
// and 2) some mobile devices have a very strict limit on global number of GL contexts (bug 754257)
#ifdef MOZ_ANDROID_OMTC
// and 3) each EGL context eats 750k on B2G (bug 813783)
#ifdef ANDROID
return nullptr;
#endif