PDA

View Full Version : fbo+ drawbuffer(s)



billert
06-27-2005, 04:36 AM
Hello,

Is there a special reason why it is not allowed to use glDrawBuffer(s) to write into a window-system-provided framebuffer (or in both) while FBO is bound? Currently Iíve to rebind the orginal framebuffer (what can be expensive) for displaying some results. Do someone know a fast way to exchange data between the FBO and the system framebuffer without rebinding or context-switching?

Thanxx

Overmind
06-27-2005, 06:39 AM
In contrast to a context switch, rebinding a framebuffer is not supposed to be an expensive operation.

AFAIK there is no way to access parts of a framebuffer object and the system framebuffer simultaneously. It would be nice, too, for example to share a common depth buffer, but I don't think such things are possible...