Multiple contexts

This topic contains 3 replies, has 2 voices, and was last updated by  ptj 9 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29556

    Rush
    Member

    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!

    -Rush

    #32215

    ptj
    Member

    Hi Rush,

    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.

    Peter

    #32216

    Rush
    Member

    Thanks for your reply Peter.

    Any estimate of when will be the next release of the emulator?

    -Rush

    #32217

    ptj
    Member

    It should come out together with the rest of the SDK at the end of August.

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.