Hi J.P and Peter, I'm busy prepping for training that I'll give next week, so will need to leave review of the tests and potential solution till after my return.
Cheers, Robert. On Fri, Jul 17, 2009 at 7:12 AM, J.P. Delport<[email protected]> wrote: > Hi Peter, Robert, > > I'm just reposting an updated example that indicates the problem with the > VBO updates in multiple contexts. Tested with latest svn 10495. > > To see what is expected, run the example with: > > ./test -s -d > > which uses display lists. Press space in the windows to zoom out. To see the > problem with vbo's run with: > > ./test -s -v > > The second view should be corrupted in some way (see attached pic). I also > get: > > Warning: detected OpenGL error 'invalid value' after RenderBin::draw(,) > > printed to the console. > > The original users thread about this can be found here: > > http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/47003 > > rgds > jp > > Peter Hrenka wrote: >> >> Hi Robert, >> >> I'd like to present an alternative fix which does not >> use glGetBufferParameteriv(). >> >> In this patch the _compileList member of BufferObject >> is used to store the resize-informatino: >> I extended the meaning of the values in _compileList: >> 0 means not compiled/dirty >> 1 means compiled >> 2 means needs resize/dirty (new) >> >> The first context that changes BufferObject::_totalSize >> will mark the BufferObject in all other contexts as >> "resize-dirty" thus fixing the update-problem. >> >> Please review >> >> Peter >> > > > -- > This message is subject to the CSIR's copyright terms and conditions, e-mail > legal notice, and implemented Open Document Format (ODF) standard. The full > disclaimer details can be found at http://www.csir.co.za/disclaimer.html. > > This message has been scanned for viruses and dangerous content by > MailScanner, and is believed to be clean. MailScanner thanks Transtec > Computers for their support. > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
