In fact There's an other interactions with my VAO integration you'll have to remove all mentions to setUseVertexAarrayObject(true) in gpucull.cpp sorry
mp3butcher wrote: > You're right > My intention was to submit incrementally my changes but > I forgot that I have introduced a new BufferIndexedBinding for indirectdraw... > So here's a all the stuff > Hope there's no other interactions with my other changes > > > > > > robertosfield wrote: > > Hi Julien, > > > > I am doing the merge of the TextureBuffer changes and after merging > > the changes to the examples I still get an error: > > > > [ 73%] Building CXX object > > examples/osgparticleeffects/CMakeFiles/example_osgparticleeffects.dir/osgparticleeffects.o > > /home/robert/OpenSceneGraph/examples/osggpucull/DrawIndirectPrimitiveSet.cpp: > > In member function ‘virtual void DrawArraysIndirect::draw(osg::State&, > > bool) const’: > > /home/robert/OpenSceneGraph/examples/osggpucull/DrawIndirectPrimitiveSet.cpp:26:14: > > error: ‘class osg::TextureBuffer’ has no member named ‘bindBufferAs’ > > _buffer->bindBufferAs( state.getContextID(), GL_DRAW_INDIRECT_BUFFER ); > > ^ > > /home/robert/OpenSceneGraph/examples/osggpucull/DrawIndirectPrimitiveSet.cpp:39:14: > > error: ‘class osg::TextureBuffer’ has no member named ‘unbindBufferAs’ > > _buffer->unbindBufferAs( state.getContextID(), GL_DRAW_INDIRECT_BUFFER ); > > ^ > > /home/robert/OpenSceneGraph/examples/osggpucull/DrawIndirectPrimitiveSet.cpp: > > In member function ‘virtual void > > MultiDrawArraysIndirect::draw(osg::State&, bool) const’: > > /home/robert/OpenSceneGraph/examples/osggpucull/DrawIndirectPrimitiveSet.cpp:46:14: > > error: ‘class osg::TextureBuffer’ has no member named ‘bindBufferAs’ > > _buffer->bindBufferAs( state.getContextID(), GL_DRAW_INDIRECT_BUFFER ); > > ^ > > /home/robert/OpenSceneGraph/examples/osggpucull/DrawIndirectPrimitiveSet.cpp:50:14: > > error: ‘class osg::TextureBuffer’ has no member named ‘unbindBufferAs’ > > _buffer->unbindBufferAs( state.getContextID(), GL_DRAW_INDIRECT_BUFFER ); > > ^ > > > > You didn't include a DrawIndirectPrimitiveSet.cpp, do you modify it locally? > > > > Robert > > _______________________________________________ > > 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=67639#67639 _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
