Hey, are there any known rules for getting non-stalling calls to glReadPixels with PBOs (on nvidia hardward, 186.18 drivers).
My code is:
bind a read FBO.
attach the texture to the FBO.
set the read buffer to the FBO attachment.
bind the PBO
call glReadPixels, requesting GL_BGRA channel order.
If I ask for GL_FLOAT as the data type, the call stalls, even if the texture is 32- bit float format. If I ask for unsigned bytes, then it doesn’t stall.
Even if I call glFinish() before the ReadPixels call, it still stalls.
Either way, I’d hope the data conversion could be done asynchronously…