Other Parts Discussed in Thread: AM62P
The lib "EGL GLESv2 wayland-egl wayland-client wayland-cursor" in SDK "ti-processor-sdk-linux-am62pxx-evm-09.01.00.08"
and It returns "#define EGL_BAD_CONTEXT 0x3006"
when using "eglCreateContext " to create share context in the second thread
reference code
" static const EGLint context_attribs[] = {
EGL_CONTEXT_CLIENT_VERSION, 3,
EGL_NONE
};
EGLint config_attribs[] = {
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES3_BIT,
EGL_BLUE_SIZE, 5, EGL_GREEN_SIZE, 6, EGL_RED_SIZE, 5,
EGL_SURFACE_TYPE, EGL_PBUFFER_BIT,
EGL_ALPHA_SIZE, 8,
EGL_NONE
};
...
display->egl.ctx = eglCreateContext(display->egl.dpy,
display->egl.conf,
context, context_attribs);
assert(display->egl.ctx);
"
how can I fix this issue?