You need to create an EAGLSharegroup
.
Check out this thread on sharing OpenGL contexts between threads.
UPDATE
Previous to iOS5 I shared OpenGL contexts between threads to allow asynchronous loading of textures from disk. But iOS5’s CVOpenGLESTextureCaches
essentially make texture uploads free so I don’t need shareGroups anymore and my code is simpler and faster.