I create a son thread in main thread ,and use main thread display and xwindow to create new surface and context in the son thread ,but it is fail.
And If I use the main thread surface and context to eglMakecurrent , it is also fail.
How can I render in multi threads? It seems that it can not share the display or surface.
How to do rendering in multi threads