Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 20, 2006, 5:24:24 PM (19 years ago)
Author:
ponder
Message:

The level four pages are now merged into large buffers. Its not finished, though.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/terrain/src/lib/graphics/importer/terrain/buffer_broker.h

    r8595 r8641  
    5656                        head = tail = NULL;
    5757                }
    58                
     58                inline int getIBSize() { return ibSize; }
     59                inline int getVBSize() { return vbSize; }               
    5960                inline void acquire( GLuint &_vbName, GLuint &_ibName );
    6061               
     
    7879        pBufferPair bp = head, prev = NULL;
    7980        bool removed = false;
    80        
    8181        while ( bp ) {
    8282
     
    106106inline void BufferBroker::acquire( GLuint &_vbName, GLuint &_ibName )
    107107{
    108 
     108        assert( capacity > lastAcquired );
    109109        int index = capacity-lastAcquired-1;
    110110        _vbName = freeVertexBuffers[index]; _ibName = freeIndexBuffers[index];
Note: See TracChangeset for help on using the changeset viewer.