This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Does Mali OpenGL ES Emulator support sharing EGLImage accross contexts in a single thread?

Hi,

Does Mali OpenGL ES Emulator support sharing EGLImage accross contexts in a single thread?

You can view the source code at https://github.com/selikhovalexey/eglimage/blob/master/eglimage.cpp

  • Hi,

    Single-threaded, multiple-context scenario would run fine.

    The Emulator does support sharing EGL images across different contexts, however there is one Emulator-specific limitation in that area.

    All contexts that are required to share EGL images have to share resources. In the example code linked, the two contexts are created with use no resource sharing (EGL_NO_CONTEXT as parameter in eglCreateContext). In order to run this particular example on Emulator, modification of this bit in the code would be required.

    Regards,

    Adam

  • Thanks, Adam.

    Regards,

    Alexey