CVOpenGLESTextureCacheCreateTextureFromImage fails to create IOSurface
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: For my current project I'm reading the main camera output of the iPhone. I'm then converting the pixelbuffer to a cached OpenGL texture through the method: CVOpenGLESTextureCacheCreateTextureFromImage . This works great when processing camera frames that are used for previewing. Tested on different combinations with the iPhone 3GS, 4, 4S, iPod Touch (4th gen) and IOS5, IOS6. But, for the actual final image, which has a very high resolution, this only works on these combinations: iPhone 3GS + IOS 5.1.1 iPhone 4 + IOS 5.1.1 iPhone 4S + IOS 6.0