[osg-submissions] Fast oaths
Paul Martz
pmartz at skew-matrix.com
Wed Oct 31 07:25:38 PDT 2007
Understood. Well, I think it's reasonable to assume that the non-env var
case is the more tested case, and therefore it is correct to set
_supportsVertexBufferObjects to the same value as _fastPath. So here's a
change that does the same thing for the env var case.
-Paul
> -----Original Message-----
> From: osg-users-bounces at lists.openscenegraph.org
> [mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf
> Of Robert Osfield
> Sent: Wednesday, October 31, 2007 3:23 AM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] Fast oaths
>
> Hi Paul,
>
> On 10/31/07, Paul Martz <pmartz at skew-matrix.com> wrote:
> > In Geometry::computeFastPathsUsed(), if the env var
> > OSG_DISABLE_FAST_PATH_IN_DISPLAY_LISTS is set, _fastPath is set to
> > false and the function returns wuthout affecting the value of
> > _supportsVertexBufferObjects.
> >
> > However, if that env var is not set, then the method
> examines several
> > criteria and sets both _fastPath and
> _supportsVertexBufferObjects to
> > the same value.
> >
> > Is there a reason why
> OSG_DISABLE_FAST_PATH_IN_DISPLAY_LISTS doesn't
> > affect the value of _supportsVertexBufferObjects?
>
> I don't recall any reason, and have even forgotten about
> OSG_DISABLE_FAST_PATH_IN_DISPLAY_LISTS, many years have past
> since I would have introduced it during the initial dev stage
> of the osg::Geometry.
>
> Robert.
>
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
negraph.org
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Geometry.cpp
Url: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071031/1ac0e257/attachment-0001.asc
More information about the osg-submissions
mailing list