Re: [osg-users] drawing in back buffer without swapping?

2010-01-28 Thread Gianluca Natale
: mercoledì 27 gennaio 2010 19.25 To: OpenSceneGraph Users Subject: Re: [osg-users] drawing in back buffer without swapping? From a little code digging, there doesn't appear to be a way to turn this off. ViewerBase::startThreading always adds a SwapBuffersOperation per render thread

Re: [osg-users] drawing in back buffer without swapping?

2010-01-28 Thread Robert Osfield
in advance Gianluca -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul Martz Sent: mercoledì 27 gennaio 2010 19.25 To: OpenSceneGraph Users Subject: Re: [osg-users] drawing in back buffer without

Re: [osg-users] drawing in back buffer without swapping?

2010-01-28 Thread Gianluca Natale
: giovedì 28 gennaio 2010 11.07 To: OpenSceneGraph Users Subject: Re: [osg-users] drawing in back buffer without swapping? Hi Gianluca, The OSG allows you to create graphics context, make the context current and then dispatch rendering and do swap buffers yourself but this requires you to individually

Re: [osg-users] drawing in back buffer without swapping?

2010-01-28 Thread Robert Osfield
Of Robert Osfield Sent: giovedì 28 gennaio 2010 11.07 To: OpenSceneGraph Users Subject: Re: [osg-users] drawing in back buffer without swapping? Hi Gianluca, The OSG allows you to create graphics context, make the context current and then dispatch rendering and do swap buffers yourself

Re: [osg-users] drawing in back buffer without swapping?

2010-01-27 Thread Paul Martz
From a little code digging, there doesn't appear to be a way to turn this off. ViewerBase::startThreading always adds a SwapBuffersOperation per render thread, and SwapBuffersOperation::operator() always calls swapBUffersImplementation and clear. Maybe there's a way to delete that Operation