]> git.mxchange.org Git - simgear.git/commit
Don't expand all the trees into display lists.
authorTim Moore <timoore@redhat.com>
Thu, 29 Jan 2009 06:22:42 +0000 (07:22 +0100)
committerTim Moore <timoore@redhat.com>
Fri, 30 Jan 2009 10:17:02 +0000 (11:17 +0100)
commit3ff13189aad93bd123a3249bdc3eb07b417bfa3a
tree0f44c82a20e62360dea67bcafe070ac83f02e1dc
parent7151c3fac153fdeb12f4b4f1fd16d55ac6c89107
Don't expand all the trees into display lists.

This can chew up large amounts of memory for questionable gains. We do
let the tree model geometry be in a display list if OSG chooses to put
it there.

Various renaming and cleanup. Save some memory by reverting
ShaderGeometry's base class back to osg::Drawable.
simgear/scene/tgdb/ShaderGeometry.cxx
simgear/scene/tgdb/ShaderGeometry.hxx