I’m using an OpenGL framebuffer object (FBO) to implement stencil shadows on iOS. The code works—that is, visually the stencil buffer is doing the job, and performance seems fine.
When I run the application through the OpenGL ES Analyzer instrument, however, it complains of a “Non-Existent Framebuffer Attachment” and “Missing Framebuffer Attachment.” I can’t make sense of these messages, since the FBO does have attachments for color, depth, and stencil. A call to glCheckFramebufferStatus() returns GL_FRAMEBUFFER_COMPLETE, indicating no problems.
Is this a bug in Instrument’s OpenGL Analyzer?
See also this thread, which gives no answers, but raises the same issue.
I finally got an answer from Apple on their Forums:
APPLE OFFICIAL REPLY