Added osg::MemoryManger which is currently based on Paul Nettle's memory manager
published at flipcode. I havn't adopted Paul's macro's for new/delete etc, but use osg prefixed versions instead to allow greater flexiblity in handling include ordering. Have fixed a couple of new/delete[] problems which existed as a result. To use the MemoryManager to track memory usage simply add -DOSG_USE_MEMEORY_TRACKING to the compile line. Have yet to move the osg from using new to osgNew, will do this next.
This commit is contained in:
1601
src/osg/MemoryManager.cpp
Normal file
1601
src/osg/MemoryManager.cpp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user