On Wednesday, March 21, 2012 at 3:54 PM, Rodrigo 'r2d2rigo' Diaz wrote: > Awesome! The library is there (Kindle Fire), and the function is included! > I'm going to try the bindings now, thank you! > If you're on the Kindle, be careful when using egl 2.0, a few egl calls seem to not be fully implemented there, for some odd reason.
andreia gaita ------------------- blog.worldofcoding.com (http://blog.worldofcoding.com) github.com/andreiagaita (http://github.com/andreiagaita) > > 2012/3/21 Jonathan Pryor <j...@xamarin.com (mailto:j...@xamarin.com)> > > On Mar 21, 2012, at 11:16 AM, Rodrigo 'r2d2rigo' Diaz wrote: > > > But there aren't any references to Mono.Constants or something alike in > > > MonoDroid. Is this possible? > > > > The constant isn't present, so you just need to use a different string. The > > /system/lib/libGLESv2.so file on my Xoom contains a glGetProgramInfoLog() > > export, so this might work: > > > > [DllImport("/system/lib/libGLESv2.so")] > > static extern void glGetProgramInfoLog(uint program, int bufsize, > > ref int length, StringBuilder infolog); > > > > However, not all systems may have that library (e.g. it looks like it's in > > GLES v2.0 support, so platforms supporting only GLES v1.1 will fail); > > attempting to call glGetProgramInfoLog() on such a system will result in an > > exception (probably DllNotFoundException). > > > > - Jon > > > > _______________________________________________ > > Monodroid mailing list > > Monodroid@lists.ximian.com (mailto:Monodroid@lists.ximian.com) > > > > UNSUBSCRIBE INFORMATION: > > http://lists.ximian.com/mailman/listinfo/monodroid > > _______________________________________________ > Monodroid mailing list > Monodroid@lists.ximian.com (mailto: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