Hi all.
Currently I used Vivante OpenGLES 1.1 and EGL 1.4 library in i.MX6 platform, and I want to share egl context between two different threads.
Here is my implementation:
Thread 1:
mSharedContext = eglCreateContext( egl_display, egl_config, NULL, contextAttrbs);
... ...
Thread 2:
mContext = eglCreateContext( egl_display, egl_config, mSharedContext , contextAttrbs);
There was no error in Thread 1, but eglGetError() always returns EGL_BAD_MATCH when running eglCreateContext in Thread 2.
So I wonder Vivante OpenGLES 1.1 library in i.MX6 platform could support context sharing between multiple threads.
Any help is appreciated in advance.