How to do rendering in multi threads

How to do rendering in multi threads

BY 13 Feb 2015 Native Application Development
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.
Written by