On 1/21/2012 10:59 AM, Robert Osfield wrote:
Hi Paul,

I haven't looked at the submission yet but as quick reply it rather
sounded to me like you've missed the capability of the
osg::BarrierOperation to optionally use a glFlush or glFinish.
Changing the barrier operation to use glFinish and selecting it so
that it's before swap would achieve what you are suggesting.  The only
essential change to make this possible would be to add a
getEndBarrierOperation() method into ViewerBase.

Yes, I missed that. Thanks for the pointer! I'll take another look.
   -Paul

I do wonder if a hint to osgViewer as to the type of sync to use when
setting up threading would be nice - so the user can select that they
want to ensure swaps are synced.

Robert.

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to