UP BufferObject sharing among geometries is the key to my VAO implementation performance ...
robertosfield wrote: > Hi Julien, > > ooooo, yep spotted it now. I usually try to keep elements like this > in a separate file, so there would be a BufferData.cpp. > > Robert. > > On 27 June 2016 at 11:10, Julien Valentin <> wrote: > > > Hi Robert > > Erh, > > I don't understand... > > The BufferData serializer is the first one in BufferObject.cpp.... > > > > > > robertosfield wrote: > > > > > Hi Julian, > > > > > > I have done a merge but while there are references to BufferData there > > > isn't a serializer for BufferData itself. Did you forgot to post this > > > file? > > > > > > Robert. > > > > > > On 26 June 2016 at 12:16, Julien Valentin <> wrote: > > > > > > > > > > Hi Robert > > > > > > > > So here my BufferDatas Serialisers > > > > > > > > It will not compile because it assume a third parameter to bufferdata's > > > > setbufferobject....you will see by yourself... > > > > > > > > > > > > robertosfield wrote: > > > > > > > > > > > > > Hi Julian, > > > > > > > > > > No other part of the OSG has a serializer toggle so I'd be inclined > > > > > not to add one. > > > > > > > > > > My inclination is to add serialisation support and then see what > > > > > issues fall out in review and testing. > > > > > > > > > > Robert > > > > > > > > > > On 25 June 2016 at 19:43, Julien Valentin <> wrote: > > > > > > > > > > > > > > > > > > > > > Hi Robert, > > > > > > In order to serialize BufferObject associated to BufferData (in the > > > > > > aim of seriliaze buffer-dependant patterns) > > > > > > I purpose: > > > > > > - to add a paramerter to BufferData::setBufferObject prototype to > > > > > > control either or not bufferdata are autoadded > > > > > > https://github.com/mp3butcher/OpenSceneGraph/commit/ae9d50c71d1e7695822d5c35d8cfb765525e88c4 > > > > > > -and a _isBufferObjectToBeSerialized like bool flag > > > > > > > > > > > > Does it sounds reasonable to you? > > > > > > > > > > > > > > > > > > Thank you! > > > > > > > > > > > > Cheers, > > > > > > Julien > > > > > > > > > > > > ------------------ > > > > > > Read this topic online here: > > > > > > http://forum.openscenegraph.org/viewtopic.php?p=67823#67823 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > osg-submissions mailing list > > > > > > > > > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > osg-submissions mailing list > > > > > > > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > > > > > > > > > ------------------ > > > > > Post generated by Mail2Forum > > > > > > > > > > > > > > > > > > > > > > ------------------ > > > > Read this topic online here: > > > > http://forum.openscenegraph.org/viewtopic.php?p=67825#67825 > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > osg-submissions mailing list > > > > > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > > > > > > > > > > > > > > _______________________________________________ > > > osg-submissions mailing list > > > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > > > > > ------------------ > > > Post generated by Mail2Forum > > > > > > > > > ------------------ > > Read this topic online here: > > http://forum.openscenegraph.org/viewtopic.php?p=67848#67848 > > > > > > > > > > > > _______________________________________________ > > osg-submissions mailing list > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > > _______________________________________________ > osg-submissions mailing list > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > ------------------ > Post generated by Mail2Forum ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68083#68083 _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
