- August 1, 2008 at 9:56 pm #29556
Does EGL multiple context rendering works with the ogl es 2.0 emulator?
Anybody care to share a sample?
I’ve been trying to get some shared vbo rendering in 2 windows for days now. And the best I could achieve is one window displaying my mesh, and the other just a cleared screen (which means simple opengl commands at least work).
If I create all my shaders, vbos and index buffers in one context, and try to render them in the second context (considering that the second one shares all objects with the first through the eglCreateContext’s 3rd argument) nothing renders, but I get no errors or crashes either.
And even if I duplicate all my meshes, the draw calls on my first context crash, even if I don’t render anything on the second one!
Any suggestions will be greatly appreciated!
-RushAugust 4, 2008 at 10:23 am #32215
It is true that the emulator doesn’t support multiple contexts properly at this moment. We know about this problem and the libraries are currently being refactored to support them. Hopefully they will get to see the light of day in our next release.
PeterAugust 4, 2008 at 1:33 pm #32216
Thanks for your reply Peter.
Any estimate of when will be the next release of the emulator?