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 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 222 of file gmanager.cpp.

void glColor3f GLfloat    red,
GLfloat    green,
GLfloat    blue
 

Definition at line 271 of file gmanager.cpp.

void glColor3fv const GLfloat   v
 

Definition at line 277 of file gmanager.cpp.

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

Definition at line 282 of file gmanager.cpp.

void glColor4fv const GLfloat   v
 

Definition at line 288 of file gmanager.cpp.

void glDisableClientState GLenum    cap
 

Definition at line 202 of file gmanager.cpp.

void glEnableClientState GLenum    cap
 

Definition at line 184 of file gmanager.cpp.

void glEnd void   
 

Definition at line 293 of file gmanager.cpp.

void glNormal3f GLfloat    nx,
GLfloat    ny,
GLfloat    nz
 

Definition at line 228 of file gmanager.cpp.

void glNormal3fv const GLfloat   v
 

Definition at line 234 of file gmanager.cpp.

void glTexCoord2f GLfloat    s,
GLfloat    t
 

Definition at line 260 of file gmanager.cpp.

void glTexCoord2fv const GLfloat   v
 

Definition at line 266 of file gmanager.cpp.

void glVertex3f GLfloat    x,
GLfloat    y,
GLfloat    z
 

Definition at line 250 of file gmanager.cpp.

void glVertex3fv const GLfloat   v
 

Definition at line 255 of file gmanager.cpp.

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

Definition at line 239 of file gmanager.cpp.

void glVertex4fv const GLfloat   v
 

Definition at line 245 of file gmanager.cpp.


ps2gl version cvs