[osg-submissions] Move MRT into FBO patch

Robert Osfield robert.osfield at gmail.com
Tue Apr 15 10:10:24 PDT 2008


Hi Art,

On Tue, Apr 15, 2008 at 5:46 PM, Robert Osfield <robert.osfield at gmail.com>
wrote:

> On further review I am now tending towards having the FBO populate the
> _drawBuffers vector each time the attachment list is modified.  This way the
> we will avoid the threading issues.
>

I have merged your changes and am currently tweaking it so that the
FBO::setAttachment() method now sets up _drawBuffers automatically, this
means that its always correct, and no need to update it during draw avoiding
any threading/order of execution issues.

If things go fine I'll check the combined changes in later.

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080415/d403cc4f/attachment.htm 


More information about the osg-submissions mailing list