Buffer objects not working


3 posts
by RichardUK » Sun Jun 10, 2012 6:31 pm
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.
User avatar
Posts: 131
Joined: Fri Jun 01, 2012 5:12 pm
by jmacey » Mon Jun 11, 2012 8:21 pm
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/jmacey/GraphicsLib/piNGL/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.
Posts: 135
Joined: Thu May 31, 2012 1:05 pm
by RichardUK » Tue Jun 19, 2012 10:05 pm
Thanks, it was my VBO's that did not work. I need to revisit that code as I must have a bug.
User avatar
Posts: 131
Joined: Fri Jun 01, 2012 5:12 pm