What is maximum count of a egl share context?


According to the official document, there is no limit to the number of shared contexts.

But on the Android client, I have an eglContext as a shared context parameter. When calling eglCreateContext to create more than or equal to 32 eglContexts, it will return EGL_NO_CONTEXT and the error message is EGL_BAD_ALLOC.