我正在尝试在iPhone上开发一个复杂的绘画应用程序.我目前正在使用Quartz(例如CGContext...).不幸的是,Quartz开销对于我正在进行的绘制类型来说太慢了,我正在使用GLPaint示例作为参考点移植到OpenGL调用.
CGContext
有没有办法从EAGLview类(相当于Quartz的UIGraphicsGetImageFromCurrentImageContext)获取UIImage/CGImage ?基本上我需要保存GLPaint应用程序绘制的图片.
UIGraphicsGetImageFromCurrentImageContext
iphone opengl-es objective-c quartz-graphics
iphone ×1
objective-c ×1
opengl-es ×1
quartz-graphics ×1