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

glcontext.cpp File Reference

#include <string.h>
#include "libgraph.h"
#include "libdma.h"
#include "libdev.h"
#include "GL/ps2gl.h"
#include "ps2s/ps2stuff.h"
#include "ps2s/types.h"
#include "ps2s/math.h"
#include "ps2s/drawenv.h"
#include "ps2s/displayenv.h"
#include "ps2s/packet.h"
#include "ps2s/gsmem.h"
#include "ps2s/texture.h"
#include "ps2gl/glcontext.h"
#include "ps2gl/matrix.h"
#include "ps2gl/gmanager.h"
#include "ps2gl/dlgmanager.h"
#include "ps2gl/immgmanager.h"
#include "ps2gl/lighting.h"
#include "ps2gl/material.h"
#include "ps2gl/dlist.h"
#include "ps2gl/displaycontext.h"
#include "ps2gl/drawcontext.h"

Go to the source code of this file.

Compounds

class  CSetMatrixModeCmd

Functions

int pglInit (int immBufferVertexSize, int immDrawBufferQwordSize)
 Initialize the ps2gl library. More...

int pglHasLibraryBeenInitted (void)
 Has pglInit() been called? More...

void pglFinish (void)
 Do any necessary clean up when finished using ps2gl. More...

void pglWaitForVU1 (void)
 Wait for dma transfers to vif1 to end. More...

void pglWaitForVSync (void)
 Wait for the vertical retrace. More...

void pglSwapBuffers (void)
 Signals the end of the current rendering loop and swaps anything double-buffered (display, draw buffers). More...

void pglSetRenderingFinishedCallback (void(*cb)(void))
 Set a function to be called back when rendering finishes. More...

void pglBeginImmediateGeometry (void)
void pglEndImmediateGeometry (void)
void pglRenderImmediateGeometry (void)
void pglFinishRenderingImmediateGeometry (int forceImmediateStop)
void pglBeginGeometry (void)
void pglEndGeometry (void)
void pglRenderGeometry (void)
void pglFinishRenderingGeometry (int forceImmediateStop)
void pglEnable (GLenum cap)
void pglDisable (GLenum cap)
void glEnable (GLenum cap)
void glDisable (GLenum cap)
void glHint (GLenum target, GLenum mode)
void glGetFloatv (GLenum pname, GLfloat *params)
const GLubyteglGetString (GLenum name)

Variables

CGLContextpGLContext = NULL
 global pointer to the GLContext. More...


Function Documentation

void glDisable GLenum    cap
 

Definition at line 779 of file glcontext.cpp.

void glEnable GLenum    cap
 

Definition at line 726 of file glcontext.cpp.

void glGetFloatv GLenum    pname,
GLfloat   params
 

Definition at line 834 of file glcontext.cpp.

const GLubyte* glGetString GLenum    name
 

Definition at line 849 of file glcontext.cpp.

void glHint GLenum    target,
GLenum    mode
 

Definition at line 829 of file glcontext.cpp.


Variable Documentation

CGLContext* pGLContext = NULL
 

global pointer to the GLContext.

Definition at line 496 of file glcontext.cpp.


ps2gl version cvs