Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

gmanager.cpp File Reference

#include <stdio.h>
#include "GL/ps2gl.h"
#include "ps2s/packet.h"
#include "ps2s/cpu_matrix.h"
#include "ps2s/math.h"
#include "ps2s/displayenv.h"
#include "ps2gl/gmanager.h"
#include "ps2gl/glcontext.h"
#include "ps2gl/dlist.h"
#include "ps2gl/clear.h"
#include "ps2gl/matrix.h"
#include "ps2gl/debug.h"

Go to the source code of this file.

Functions

void glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
void glNormalPointer (GLenum type, GLsizei stride, const GLvoid *ptr)
void glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
void glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
void glDrawArrays (GLenum mode, GLint first, GLsizei count)
 The important thing to remember with DrawArrays() is that array data is not copied (mostly). More...

void glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
 This is not implemented yet. More...

void glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer)
 This is not implemented yet. More...

void glArrayElement (GLint i)
 This is not implemented yet. More...

void glFlush (void)
 Flushes the internal geometry buffers. More...

void glEnableClientState (GLenum cap)
void glDisableClientState (GLenum cap)
void glBegin (GLenum mode)
void glNormal3f (GLfloat x, GLfloat y, GLfloat z)
void glNormal3fv (const GLfloat *v)
void glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w)
void glVertex4fv (const GLfloat *vertex)
void glVertex3f (GLfloat x, GLfloat y, GLfloat z)
void glVertex3fv (const GLfloat *vertex)
void glTexCoord2f (GLfloat u, GLfloat v)
void glTexCoord2fv (const GLfloat *texCoord)
void glColor3f (GLfloat red, GLfloat green, GLfloat blue)
void glColor3fv (const GLfloat *color)
void glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
void glColor4fv (const GLfloat *color)
void glEnd (void)
void pglNormalPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
 Specify a normal pointer with either 3 or 4 elements. More...

void pglDrawIndexedArrays (GLenum primType, int numIndices, const unsigned char *indices, int numVertices)
void pglRegisterCustomPrimType (GLenum primType, pglU64_t requirements, pglU64_t rendererReqMask, int mergeContiguous)
 Register a new primitive. More...

void pglEnableCustom (pglU64_t flag)
 Enable a custom attribute/state change. More...

void pglDisableCustom (pglU64_t flag)
 Disable a custom attribute/state change. More...

void pglUserRenderContextChanged ()


Function Documentation

void glBegin GLenum    mode
 

Definition at line 246 of file gmanager.cpp.

void glColor3f GLfloat    red,
GLfloat    green,
GLfloat    blue
 

Definition at line 295 of file gmanager.cpp.

void glColor3fv const GLfloat   v
 

Definition at line 301 of file gmanager.cpp.

void glColor4f GLfloat    red,
GLfloat    green,
GLfloat    blue,
GLfloat    alpha
 

Definition at line 306 of file gmanager.cpp.

void glColor4fv const GLfloat   v
 

Definition at line 312 of file gmanager.cpp.

void glDisableClientState GLenum    cap
 

Definition at line 226 of file gmanager.cpp.

void glEnableClientState GLenum    cap
 

Definition at line 208 of file gmanager.cpp.

void glEnd void   
 

Definition at line 317 of file gmanager.cpp.

void glNormal3f GLfloat    nx,
GLfloat    ny,
GLfloat    nz
 

Definition at line 252 of file gmanager.cpp.

void glNormal3fv const GLfloat   v
 

Definition at line 258 of file gmanager.cpp.

void glTexCoord2f GLfloat    s,
GLfloat    t
 

Definition at line 284 of file gmanager.cpp.

void glTexCoord2fv const GLfloat   v
 

Definition at line 290 of file gmanager.cpp.

void glVertex3f GLfloat    x,
GLfloat    y,
GLfloat    z
 

Definition at line 274 of file gmanager.cpp.

void glVertex3fv const GLfloat   v
 

Definition at line 279 of file gmanager.cpp.

void glVertex4f GLfloat    x,
GLfloat    y,
GLfloat    z,
GLfloat    w
 

Definition at line 263 of file gmanager.cpp.

void glVertex4fv const GLfloat   v
 

Definition at line 269 of file gmanager.cpp.


ps2gl version cvs