OpenSceneGraph/include
Robert Osfield 7117ff4bd3 Added support for controlling the frequency of checking for OpenGL errors
via:

        enum CheckForGLErrors
        {
            /** NEVER_CHECK_GL_ERRORS hints that OpenGL need not be checked for, this
                is the fastest option since checking for errors does incurr a small overhead.*/
            NEVER_CHECK_GL_ERRORS,
            /** ONCE_PER_FRAME means that OpenGl errors will be checked for once per
                frame, the overhead is still small, but at least OpenGL errors that are occurring
                will be caught, the reporting isn't fine grained enough for debugging purposes.*/
            ONCE_PER_FRAME,
            /** ONCE_PER_ATTRIBUTE means that OpenGL errors will be checked for after
                every attribute is applied, allow errors to be directly associated with
                particular operations which makes debugging much easier.*/
            ONCE_PER_ATTRIBUTE
        };

        /** Set whether and how often OpenGL errors should be checked for.*/
        void setCheckForGLErrors(CheckForGLErrors check) { _checkGLErrors = check; }

        /** Get whether and how often OpenGL errors should be checked for.*/
        CheckForGLErrors getCheckForGLErrors() const { return _checkGLErrors; }
2005-04-29 20:56:20 +00:00
..
osg Added support for controlling the frequency of checking for OpenGL errors 2005-04-29 20:56:20 +00:00
osgDB Added next stage of support for osg::Uniform in .osg plugin 2005-04-18 12:34:28 +00:00
osgFX Coding style update 2005-04-29 06:32:45 +00:00
osgGA Futher work on adding event and update callbacks to StateSet, Uniform and StateAttributes 2005-04-25 11:05:02 +00:00
osgIntrospection Compile fix 2005-04-29 11:22:15 +00:00
osgParticle Moved osgParticle across to standard OSG coding style. 2005-04-29 09:47:57 +00:00
osgProducer Updated Copyright notices to 1998-2005. 2005-04-14 21:41:28 +00:00
osgSim Added setValue and setSwitchSet methods 2005-04-15 20:05:30 +00:00
osgTerrain Updated Copyright notices to 1998-2005. 2005-04-14 21:41:28 +00:00
osgText Updated Copyright notices to 1998-2005. 2005-04-14 21:41:28 +00:00
osgUtil Futher work on adding event and update callbacks to StateSet, Uniform and StateAttributes 2005-04-25 11:05:02 +00:00