Page 1 of 1

Buffer objects not working

Posted: Sun Jun 10, 2012 6:31 pm
by RichardUK
Are they supported or am I being daft and missing using them?
Are buffer objects a GLES requirement?

With the latest firmware buffers objects still fail to work. They set no internal error either.
Code works fine using memory streams. Not the first bit of hardware I've seen this issue on.

Re: Buffer objects not working

Posted: Mon Jun 11, 2012 8:21 pm
by jmacey
Do you mean Vertex Buffer Object? or Vertex Array Objects? VBO's seem to work fine, but VAO's are not implemented, I've wrapped my own VAO class you can grab the very alpha code and a simple demo from here http://nccastaff.bournemouth.ac.uk/jmac ... index.html (it's a fully compiled + source lib including some very large datasets) plus a simple demo loading an obj with textures.

If you are having troubles make sure you have created a proper ES2.0 context (you need to set this in the EGL window code) otherwise I think ES 1.x doesn't support them.

Re: Buffer objects not working

Posted: Tue Jun 19, 2012 10:05 pm
by RichardUK
Thanks, it was my VBO's that did not work. I need to revisit that code as I must have a bug.