Do you use the short or the long solution then? On Mon, Jul 16, 2012 at 9:23 AM, l0nestar <allan.bent...@thumbstar.com>wrote:
> That makes a huge difference. Thanks for that.**** > > ** ** > > *From:* Jonathan Pryor-2 [via Mono for Android] [mailto:[hidden > email]<http://user/SendEmail.jtp?type=node&node=5710891&i=0>] > > *Sent:* 13 July 2012 16:07 > *To:* l0nestar > *Subject:* Re: OpenGL API performance**** > > ** ** > > On Jul 13, 2012, at 6:03 AM, l0nestar wrote: > > I'm trying to optimise my test game. I'm using Android.Opengl.GLES11 to > do all of my interaction with GL. However it seems to me that the cost for > calling the API is quite high. I assume that each call i make to GLES11 > maps to an equivalent java call, is there a cost associated with this > transition? > > Yes. It's...not cheap. > > Short version: if at all possible, use OpenTK or MonoGame. (This will also > result in code that is more portable to other platforms - Win!) > > Long version: All bindings of Java types involve lots of JNI glue code, > via the JNIEnv type: > > click here. > NAML<http://mono-for-android.1047100.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > **** > > > ------------------------------ > View this message in context: RE: OpenGL API > performance<http://mono-for-android.1047100.n5.nabble.com/OpenGL-API-performance-tp5710863p5710891.html> > > Sent from the Mono for Android mailing list > archive<http://mono-for-android.1047100.n5.nabble.com/>at Nabble.com. > > _______________________________________________ > Monodroid mailing list > Monodroid@lists.ximian.com > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid > >
_______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid