Hi Robert -- I'm adding code to osgOQ to clean up query IDs, and ran into a
small snag.
 
GraphicsContext::close() has hardcoded several static function calls to
delete OpenGL objects, such as Drawable::flushAllDeletedDisplayLists.
Doesn't this design somewhat prohibit NodeKits from deleting OpenGL objects
that aren't supported in core OSG -- such as query IDs? The "correct" way
for me to add clean up code to my osgOQ NodeKit would be to add a dependency
from osg::GraphicsContext onto osgOQ, which is not allowed, of course.
 
Not sure how to proceed. Perhaps I'll just add the correct code to my
NodeKit, and note that it won't get properly executed until osgOQ is
integrated into core OSG. Let me know if you have other ideas, I appreciate
your advice.
 
Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com <http://www.skew-matrix.com/> 
303 859 9466
 
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to