Hi everyone,
Thank you all for previous support, but we have a next question/issue for MetalGL
In short, we use CoreVideo’s cache CVOpenGLESTextureCache and it uses OpenGLES context with it’s private API, that’s why our app crashes:
-[MGLEAGLContext GetMacroContextPrivate]: unrecognized selector sent to instance
Is it possible for MetalGL to implement that private API?
But there could be an another way: CVMetalTextureCache
But in that case we get CVMetalTextureRef from CVMetalTextureCacheCreateTextureFromImage instead of CVOpenGLESTextureRef from corresponding OpenGL’s method.
Basically we cannot feed that kind of texture to (we have crash there):
glBindTexture(CVOpenGLESTextureGetTarget(_texture), CVOpenGLESTextureGetName(_texture));
Could you suggest a solution for this kind of problem?
Ilnar A.