PS2GL
OpenGL*-like API for the PS2
|
Public Member Functions | |
CDListGeomManager (CGLContext &context) | |
void | PrimChanged (GLenum prim) |
void | EnableCustom (tU64 flag) |
void | DisableCustom (tU64 flag) |
void | SetUserRenderContextChanged () |
void | BeginDListDef () |
void | EndDListDef () |
void | BeginGeom (GLenum mode) |
void | Vertex (cpu_vec_xyzw newVert) |
void | Normal (cpu_vec_xyz normal) |
void | TexCoord (float u, float v) |
void | Color (cpu_vec_xyzw color) |
void | EndGeom () |
void | DrawArrays (GLenum mode, int first, int count) |
void | DrawIndexedArrays (GLenum primType, int numIndices, const unsigned char *indices, int numVertices) |
void | Flush () |
Public Member Functions inherited from CGeomManager | |
CGeomManager (CGLContext &context) | |
void | SetUserRenderContextChanged () |
cpu_vec_xyz | GetCurNormal () const |
void | SetCurNormal (cpu_vec_xyz normal) |
const float * | GetCurTexCoord () const |
void | SetCurTexCoord (float u, float v) |
void | SetDoNormalize (bool normalize) |
CVertArray & | GetVertArray () |
Private Member Functions | |
void | DrawBlock (CGeometryBlock &block) |
void | CommitNewGeom () |
void | DrawingIndexedArray () |
void | DrawingLinearArray () |
Private Attributes | |
CDmaPacket * | CurVertexBuf |
CDmaPacket * | CurNormalBuf |
CDmaPacket * | CurTexCoordBuf |
CDmaPacket * | CurColorBuf |
CDList * | CurDList |
CGeometryBlock | Geometry |
bool | RendererMayHaveChanged |
Additional Inherited Members | |
Static Public Member Functions inherited from CGeomManager | |
static bool | IsUserPrimType (unsigned int prim) |
static void | RegisterUserPrimType (GLenum prim, tU64 requirements, tU64 rendererReqMask, bool mergeContiguous) |
static tU64 | GetUserPrimRequirements (GLenum prim) |
static bool | GetUserPrimMerge (GLenum prim) |
static tU64 | GetUserPrimReqMask (GLenum prim) |
Static Protected Member Functions inherited from CGeomManager | |
static void | CheckPrimAccess (GLenum prim) |
Protected Attributes inherited from CGeomManager | |
CGLContext & | GLContext |
cpu_vec_xyz | CurNormal |
float | CurTexCoord [2] |
GLenum | Prim |
bool | InsideBeginEnd |
bool | LastArrayAccessWasIndexed |
bool | LastArrayAccessIsValid |
bool | UserRenderContextChanged |
Static Protected Attributes inherited from CGeomManager | |
static CVertArray * | VertArray |
static const unsigned int | kMaxUserPrimTypes = PGL_MAX_CUSTOM_PRIM_TYPES |
static tUserPrimEntry | UserPrimTypes [kMaxUserPrimTypes] |
static bool | DoNormalize = false |
Definition at line 18 of file dlgmanager.h.
CDListGeomManager::CDListGeomManager | ( | CGLContext & | context | ) |
Definition at line 25 of file dlgmanager.cpp.
|
inlinevirtual |
Definition at line 35 of file dlgmanager.h.
|
private |
Definition at line 672 of file dlgmanager.cpp.
|
private |
Definition at line 412 of file dlgmanager.cpp.
|
private |
Definition at line 403 of file dlgmanager.cpp.
|
private |
Definition at line 394 of file dlgmanager.cpp.
void CDListGeomManager::PrimChanged | ( | GLenum | prim | ) |
Definition at line 355 of file dlgmanager.cpp.
|
virtual |
Implements CGeomManager.
Definition at line 695 of file dlgmanager.cpp.
|
virtual |
Implements CGeomManager.
Definition at line 715 of file dlgmanager.cpp.
|
inline |
Definition at line 44 of file dlgmanager.h.
void CDListGeomManager::BeginDListDef | ( | ) |
Definition at line 32 of file dlgmanager.cpp.
void CDListGeomManager::EndDListDef | ( | ) |
Definition at line 43 of file dlgmanager.cpp.
|
virtual |
Implements CGeomManager.
Definition at line 67 of file dlgmanager.cpp.
|
virtual |
Implements CGeomManager.
Definition at line 88 of file dlgmanager.cpp.
|
virtual |
Implements CGeomManager.
Definition at line 110 of file dlgmanager.cpp.
|
virtual |
Implements CGeomManager.
Definition at line 176 of file dlgmanager.cpp.
|
virtual |
Implements CGeomManager.
Definition at line 147 of file dlgmanager.cpp.
|
virtual |
Implements CGeomManager.
Definition at line 192 of file dlgmanager.cpp.
|
virtual |
Implements CGeomManager.
Definition at line 250 of file dlgmanager.cpp.
|
virtual |
Implements CGeomManager.
Definition at line 283 of file dlgmanager.cpp.
|
virtual |
Implements CGeomManager.
Definition at line 55 of file dlgmanager.cpp.
|
private |
Definition at line 20 of file dlgmanager.h.
|
private |
Definition at line 20 of file dlgmanager.h.
|
private |
Definition at line 20 of file dlgmanager.h.
|
private |
Definition at line 20 of file dlgmanager.h.
|
private |
Definition at line 22 of file dlgmanager.h.
|
private |
Definition at line 23 of file dlgmanager.h.
|
private |
Definition at line 25 of file dlgmanager.h.