XLE  v0.02.0
Classes | Public Member Functions | Protected Types | Protected Attributes | List of all members
BufferUploads::ReferenceCountingLayer Class Reference
Inheritance diagram for BufferUploads::ReferenceCountingLayer:
Inheritance graph
[legend]

Classes

struct  CompareStart
 
class  Entry
 

Public Member Functions

std::pair< signed, signed > AddRef (unsigned start, unsigned size, const char name[]=NULL)
 
std::pair< signed, signed > Release (unsigned start, unsigned size)
 
size_t Validate ()
 
unsigned CalculatedReferencedSpace () const
 
unsigned GetEntryCount () const
 
std::pair< unsigned, unsigned > GetEntry (unsigned index) const
 
bool ValidateBlock (unsigned start, unsigned size) const
 
void PerformDefrag (const std::vector< DefragStep > &defrag)
 
 ReferenceCountingLayer (size_t size)
 
 ReferenceCountingLayer (const ReferenceCountingLayer &cloneFrom)
 

Protected Types

typedef uint16 Marker
 

Protected Attributes

std::vector< Entry_entries
 
Threading::Mutex _lock
 

Additional Inherited Members

- Static Public Member Functions inherited from Utility::MarkerHeap< uint16 >
static uint16 ToInternalSize (unsigned size)
 
static unsigned ToExternalSize (uint16 size)
 
static unsigned AlignSize (unsigned size)
 

The documentation for this class was generated from the following files: