I am doing offscreen tiled rendering of very large output images using FBOs. In order to have the best performance, I am trying to create the largest FBO (and thus tile size) that I can. To that end, I am using the following code:
And then creating an FBO of that size. My OpenGL context comes from an invisible window which I create of an arbitrary size(100x100). The value I get for the maximum size is 8192, thus I create 8192x8192 render buffers.
I get no errors in creating my renderbuffers etc. I just get an “incomplete” status when calling glCheckFramebufferStatusEXT() once I’ve set up the FBO. Note that my code does work for smaller FBOs.
Any ideas on how I should approach this?