- June 22, 2011 at 2:37 am #30558
I’m working several shaders and framebuffers for image processing, like blur, gradient computation, on iPhone 3GS/4 platform.
As the number of shaders and framebuffer objects increase,
I wonder how many shaders and framebuffers could I use on iPhone 3GS/4
that are equipped with PowerVR SGX series.
I looked for the information in OpenGL ES and GLSL ES specifications but I could find nothing about it.
Anybody knows about this ?June 22, 2011 at 10:11 am #34958
there is no explicit limit on the number of shader or framebuffer objects you can create, but as soon as the system is not able to create any more you will get an GL_OUT_OF_MEMORY error.
For example if you have a look at the renderbuffer objects specification it says at one point:
“If OpenGL ES is unable to create a data store of the requested size, the error OUT_OF_MEMORY is generated.”
MarcoJune 22, 2011 at 11:04 am #34959
Thank you for your answer.
If so, somehow, is the limit dependent on the video memory or something else ?