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:
Robert Osfield
2002-03-25 23:18:02 +00:00
parent 51b1b1eb38
commit 651a22453a
12 changed files with 1784 additions and 13 deletions

1601
src/osg/MemoryManager.cpp Normal file

File diff suppressed because it is too large Load Diff