For an algorithm of mine I need to be able to access the depth buffer. I have no problem at all doing this using glReadPixels, but reading an 800x600 window is extremely slow (F
I would render to a FBO and read its depth buffer after the frame has been rendered. PBOs are outdated technology.