C++ cross-platform 3D graphics SDK. Includes demos & helper code (resource loading etc.) to speed up development of Vulkan, OpenGL ES 2.0 & 3.x applications
I see eglMakeCurrent() calls [NSOpenGLContext setView:], which must be called in UI thread. Before macOS 10.15 it's not a problem, but xcode will warn about UI API called on non-ui thread if you write similar opengl context code yourself.
BTW, I think setView should be called in eglCreateWindowSurface but not eglMakeCurrent.
Hi @wang-bin, thanks for bringing this up. The powervr SDK was not tested against macOS 10.15. We'll be looking into the issue and providing a patch as soon as possible.
Description
I see eglMakeCurrent() calls
[NSOpenGLContext setView:]
, which must be called in UI thread. Before macOS 10.15 it's not a problem, but xcode will warn about UI API called on non-ui thread if you write similar opengl context code yourself.BTW, I think setView should be called in
eglCreateWindowSurface
but noteglMakeCurrent
.Repro steps
Environment
Additional Info