Show
Ignore:
Timestamp:
10/01/09 22:19:42 (5 years ago)
Author:
robert
Message:

Introduced new BufferObject? design + implementation in preperation of implementing a pool system for buffer objects

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osg/Image.cpp

    r10062 r10600  
    3434 
    3535Image::Image() 
    36     :Object(true), 
     36    :BufferData(), 
    3737    _fileName(""), 
    3838    _writeHint(NO_PREFERENCE), 
     
    4545    _pixelAspectRatio(1.0), 
    4646    _allocationMode(USE_NEW_DELETE), 
    47     _data(0L), 
    48     _modifiedCount(0) 
     47    _data(0L) 
    4948{ 
    5049    setDataVariance(STATIC);  
     
    5251 
    5352Image::Image(const Image& image,const CopyOp& copyop): 
    54     Object(image,copyop), 
     53    BufferData(image,copyop), 
    5554    _fileName(image._fileName), 
    5655    _writeHint(image._writeHint), 
     
    6362    _pixelAspectRatio(image._pixelAspectRatio), 
    6463    _data(0L), 
    65     _modifiedCount(image._modifiedCount), 
    6664    _mipmapData(image._mipmapData) 
    6765{