[osg-users] osgOQ: Deleting Query IDs
Paul Martz
pmartz at skew-matrix.com
Mon Dec 3 10:39:27 PST 2007
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071203/602f2a9e/attachment.htm
More information about the osg-users
mailing list