Hi Julien, Minimizing the CPU cost of administration of vertex array objects and vertex buffer objects is core consideration to the design and implementation of the VertexArrayState. Any extra cost over what there exist already is not acceptable.
Cheers, Robert. On Mon, 31 Dec 2018 at 16:11, Julien Valentin <julienvalenti...@gmail.com> wrote: > > Hi, > > What do you think of this kind of change: > -adding a VertexArrayState comparator ( compare vbos and ebo and their > dispatch index) > -in State::SetCurrentVertexArrayState(vas): > if(current->compare(vas))return; > current=vas; > > It would add a little overcost but would be quite usefull in case Drawable > can share their vas... > With the current design (createvascallback) it's possible but kind of > tricky..:/ > > Thank you! > > Cheers, > Julien > > ------------------------ > Twirling twirling twirling toward freedom > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=75369#75369 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org