Added experimental timing and PBO usage into ICO+GCE classes

This commit is contained in:
Robert Osfield
2011-02-01 12:18:22 +00:00
parent cb26484ac7
commit 99fc347212
3 changed files with 49 additions and 7 deletions

View File

@@ -36,8 +36,9 @@ class OSGUTIL_EXPORT StateToCompile : public osg::NodeVisitor
GLObjectsVisitor::Mode _mode;
DrawableSet _drawables;
TextureSet _textures;
ProgramSet _programs;
TextureSet _textures;
ProgramSet _programs;
bool _assignPBOToImages;
bool empty() const { return _textures.empty() && _programs.empty() && _drawables.empty(); }