Hi Digi,
There’s no obvious reason for this code to be generating an error. Have you tried calling eglGetError after each egl function to see if anything is going wrong at this stage?
Are you using the PVRShell when you do this test? If so, how are you integrating this code?
All else being correct, have you checked that the values of mEglContextThread and mEglContextMain are in fact different values when being passed to eglMakeCurrent?
Regards,
Tobias
Thanks for the reply Tobias. I’ll provide a few more details, hopefully that might help.
I also want to note that my code works with the lib/dlls in the OpenGL ES SDK from AMD (http://developer.amd.com/tools/graphics-development/amd-opengl-es-sdk/).
Hi Digi,
Ah sorry, I didn’t realise you were using our VFrame emulation libraries. Unfortunately these libraries don’t currently support multi-threaded OpenGL ES.
We have an engineer looking at it, but it’s a fundamental problem with how the libraries were originally coded. As a result we’re having to update a lot of code, but we do understand that it’s a fairly important issue, particularly moving forward. I’ll note your feedback which will help justify making it a priority.
In the meantime, please keep an eye on our release notes for any updates. I’m sorry that I can’t be of more help with this issue
Regards,
Tobias
Tobias, thank you for your replies. Much appreciated.
did any one got this working in emulator