Thank you for the suggestions. I was hoping you were right about the heap or memory segments.
My memory is not dynamically allocated.
I loaded the vertices into code, then compiled them into the application
so it will start faster.
I was able to exercise all the vertex memory locations.
using a simple sqrt() on xyz to get the sphere radius.
every vertex passed.
That tells me my vertex array is not too big for my platform.
I was able to run the code on my PC and another embedded device.
the ipod is the only one I cant get to work.
Any other suggestions?
Is there a way to flush or render the vertices without swapping buffers?
I read something about stalling the pipeline.
When I run my application only calling glDrawArrays() when there are more than 133 vertices it works.
The problem is all the good data comes in less than 133 vertecies!
Thank you. I agree. It is probably the platfoem and not OpenGL ES.
I am able to run the same code on another embedded platform; and on my PC.
I also get the same behaviour using glBindBuffer and glBufferData.
Is there a way to query GPU memory utilization?
Are there any guides to optimize GPU memory management?
glGetError yields GL_NO_ERROR
and once the limit is reached each subsequent (and "successful’) call to glDrawArrays takes over one whole second.
I have been able to excercise the entire vertex buffer using a VBO and I still get the same performance.
I believe I proved the code and memory to be correct since I can draw a different subset of the the data each frame accounting for all the vertices in about 10 frames. just cant do them all in one frame. This is with the vertex data already loaded (It think - assuming on the ipod, a VBO is actually on the graphics chip memory already)
Thank you for the thought. and I forgot that the program still runs. just in an obviously unacceptable manner. one second per glDrawArray call.
Is this what is meant by stalling the pipeline?
Is it possible even though I am using VBO’s the data isn’t really on the other side of the platform/graphics bus?
as you can already tell I am a noob, so feel free to state the obvious.