
获得徽章 0
- GPUImage这行代码最终创建出来的Texture是BGRA存储还是RGBA呢?手里的iOS 11设备在Xcode 9上没法抓帧确认。
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, bytesPerRow / 4, bufferHeight, 0, GL_BGRA, GL_UNSIGNED_BYTE, CVPixelBufferGetBaseAddress(cameraFrame));展开评论点赞 - glTexImage2D(internalformat, format)两个参数在iOS/macOS上苹果不遵守OpenGL / ES规范实现的讨论。赞过评论1