Sharing egl context between multiple threads

This topic contains 1 reply, has 2 voices, and was last updated by  Tobias Hector 5 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30932

    iceman
    Member
    Hi,

    Is it allowed to create egl context from main() and render from another thread, given the fact that the context handles are passed from main() to the thread’s function?

    Thanks.

    iceman2012-07-30 19:14:03

    #36043

    Hi iceman,

    This is completely fine – you must make sure to call “eglMakeCurrent” on the rendering thread though to make sure the context is bound to the correct thread.

    Thanks,

    Tobias

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