PS2GL
OpenGL*-like API for the PS2
Loading...
Searching...
No Matches
CDListManager Class Reference
+ Collaboration diagram for CDListManager:

Public Member Functions

void SwapBuffers ()
 
unsigned int GenLists (int numLists)
 
void DeleteLists (unsigned int firstListID, int numLists)
 
void NewList (unsigned int listID, GLenum mode)
 
void EndList ()
 
void CallList (unsigned int listID)
 
CDListGetOpenDList () const
 

Private Member Functions

bool ListsAreFree (int firstListID, int numLists)
 
void AddListToBeFreed (CDList *dlist)
 

Private Attributes

int NextFreeListID
 
CDListLists [kMaxListID]
 
unsigned int OpenListID
 
CDListOpenList
 
CDListListsToBeFreed [2][kMaxBuffersToBeFreed]
 
int NumListsToBeFreed [2]
 
int CurBuffer
 

Static Private Attributes

static const int kMaxListID = 4096
 
static const int kMaxBuffersToBeFreed = 1024
 

Detailed Description

Definition at line 218 of file dlist.h.

Constructor & Destructor Documentation

◆ CDListManager()

CDListManager::CDListManager ( )
inline

Definition at line 239 of file dlist.h.

◆ ~CDListManager()

CDListManager::~CDListManager ( )
inline

Definition at line 249 of file dlist.h.

Member Function Documentation

◆ ListsAreFree()

bool CDListManager::ListsAreFree ( int  firstListID,
int  numLists 
)
private

Definition at line 97 of file dlist.cpp.

◆ AddListToBeFreed()

void CDListManager::AddListToBeFreed ( CDList dlist)
inlineprivate

Definition at line 232 of file dlist.h.

◆ SwapBuffers()

void CDListManager::SwapBuffers ( )

Definition at line 89 of file dlist.cpp.

◆ GenLists()

unsigned int CDListManager::GenLists ( int  numLists)

Definition at line 107 of file dlist.cpp.

◆ DeleteLists()

void CDListManager::DeleteLists ( unsigned int  firstListID,
int  numLists 
)

Definition at line 126 of file dlist.cpp.

◆ NewList()

void CDListManager::NewList ( unsigned int  listID,
GLenum  mode 
)

Definition at line 137 of file dlist.cpp.

◆ EndList()

void CDListManager::EndList ( )

Definition at line 147 of file dlist.cpp.

◆ CallList()

void CDListManager::CallList ( unsigned int  listID)

Definition at line 174 of file dlist.cpp.

◆ GetOpenDList()

CDList & CDListManager::GetOpenDList ( ) const
inline

Definition at line 264 of file dlist.h.

Field Documentation

◆ kMaxListID

const int CDListManager::kMaxListID = 4096
staticprivate

Definition at line 219 of file dlist.h.

◆ NextFreeListID

int CDListManager::NextFreeListID
private

Definition at line 220 of file dlist.h.

◆ Lists

CDList* CDListManager::Lists[kMaxListID]
private

Definition at line 221 of file dlist.h.

◆ OpenListID

unsigned int CDListManager::OpenListID
private

Definition at line 222 of file dlist.h.

◆ OpenList

CDList* CDListManager::OpenList
private

Definition at line 223 of file dlist.h.

◆ kMaxBuffersToBeFreed

const int CDListManager::kMaxBuffersToBeFreed = 1024
staticprivate

Definition at line 227 of file dlist.h.

◆ ListsToBeFreed

CDList* CDListManager::ListsToBeFreed[2][kMaxBuffersToBeFreed]
private

Definition at line 228 of file dlist.h.

◆ NumListsToBeFreed

int CDListManager::NumListsToBeFreed[2]
private

Definition at line 229 of file dlist.h.

◆ CurBuffer

int CDListManager::CurBuffer
private

Definition at line 230 of file dlist.h.


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