[osg-submissions] Move MRT into FBO patch
Robert Osfield
robert.osfield at gmail.com
Tue Apr 15 09:46:45 PDT 2008
Hi Art,
On Tue, Apr 15, 2008 at 5:37 PM, Robert Osfield <robert.osfield at gmail.com>
wrote:
> I've begun reviewing your changes and spotted a threading issue in
> FrameBufferObject::apply() relating to the population of the _drawBuffers
> vector. I'm inclined to think that this vector might be best managed as a
> temporary that is created and applied when required. Doing this would mean
> that some code in RenderStage would need to change.
>
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.
Looking at other FBO code around your changes it looks to me that there
might be some further threading issues lurking. More indepth review is
required.
Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080415/574dffa7/attachment.htm
More information about the osg-submissions
mailing list