Done, and it works like a charm! Luckily the implementation of glGenVertexArrayOES/glBindVertexArrayOES is implemented in libGLESv2.so on the Kindle.
@Andreia: yes, I know those functions are already in OpenTK. It was an old binding from when it was broken in MonoTouch. 2012/3/21 Andreia Gaita <andr...@xamarin.com> > 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 > github.com/andreiagaita > > > 2012/3/21 Jonathan Pryor <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 > > 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 > > > > _______________________________________________ > 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