On 11/30/2010 04:23 PM, Keith Parkins wrote:
Okay, DrawArrays also uses the slow path. I was under the impression that only DrawArrayLengths were. The only hint I had of this before digging through the source was a posting here that said not to use DrawArrayLengths.
My understanding was that neither DrawArrays nor DrawArrayLengths would use slow paths (they should both be using glDrawArrays(), which is fast). Unfortunately, I can't deduce from the information you've provided why you'd be falling onto the slow path.
Are you using attribute indices on your Geometry (setVertexIndices(), setNormalIndices(), etc.)? Are you using BIND_PER_PRIMITIVE for any of your attributes? Those are the most common reasons.
--"J" _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

