From: JR S. <sc...@we...> - 2012-08-26 19:29:46
|
It appears that OpenGL support isn't complete in the new IOS API. From what I can tell, not many changes would be needed: 0) The org.xmlvm.iphone.gl.GL wrapper class can still be utilized, unmodified, even in the new IOS API since it is a pure static warpper of OpenGL calls. In other words, since nothing derives from NSObject, it does not "contaminate" the new API. 1) A analogous UIViewGL class is needed to change the backing layer type to a CAEGLayer. This seems to be the trickiest part to me, since this requires making a new class and wrapper class. 2) A few unimplemented methods (renderbufferStorage and presentRenderBuffer) need to be implemented natively. This appears really easy, as it seems you an use the existing org.xmlvm.iphone.* native code with little or no modification. Has anyone tried this? Step 1) seems to be the trickiest part, at least for the uninitiated. If someone is willing to do 1), I will give 2) a shot and be happy to forward on the results / patch. JR -- J.R. Schmidt WebMO, LLC Fax: (734) 418-1077 E-mail: sc...@we... http://www.webmo.net |