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

CGLContext Class Reference

#include <glcontext.h>

List of all members.

Public Methods

 CGLContext (int immBufferQwordSize)
 ~CGLContext ()
void SetMatrixMode (GLenum mode)
CMatrixStackGetCurMatrixStack ()
CImmMatrixStackGetModelViewStack ()
CImmMatrixStackGetProjectionStack ()
CLightingGetLighting ()
CImmLightingGetImmLighting ()
CDListLightingGetDListLighting ()
CGeomManagerGetGeomManager ()
CImmGeomManagerGetImmGeomManager ()
CDListGeomManagerGetDListGeomManager ()
CMaterialManagerGetMaterialManager ()
CDListManagerGetDListManager ()
CTexManagerGetTexManager ()
CDrawContextGetDrawContext ()
CImmDrawContextGetImmDrawContext ()
CDListDrawContextGetDListDrawContext ()
CDisplayContextGetDisplayContext ()
bool InDListDef () const
void BeginDListDef (unsigned int listID, GLenum mode)
void EndDListDef ()
void NumLightsChanged ()
void LightPropChanged ()
void GlobalAmbChanged ()
void CurMaterialChanged ()
void XformChanged ()
void PrimChanged ()
void ShadingChanged ()
void TexEnabledChanged ()
void LightingEnabledChanged ()
void BlendEnabledChanged ()
void AlphaTestEnabledChanged ()
void AlphaTestFuncChanged ()
void DepthWriteEnabledChanged ()
void SpecularEnabledChanged ()
void TextureChanged ()
void BlendModeChanged ()
void DrawBufferChanged ()
void PerVtxMaterialChanged ()
void CullFaceEnabledChanged ()
void CullFaceDirChanged ()
tU32 GetVu1ContextChanged () const
void SetVu1ContextChanged (bool changed)
tU32 GetGsContextChanged () const
void SetGsContextChanged (bool changed)
tU32 GetGeomManagerPropsChanged () const
void SetRendererPropsChanged (bool changed)
CVifSCDmaPacket& GetVif1Packet ()
void WaitForVSync ()
void SwapBuffers ()


Constructor & Destructor Documentation

CGLContext::CGLContext ( int immBufferQwordSize )
 

Definition at line 52 of file glcontext.cpp.

CGLContext::~CGLContext ( )
 

Definition at line 103 of file glcontext.cpp.


Member Function Documentation

void CGLContext::AlphaTestEnabledChanged ( ) [inline]
 

Definition at line 201 of file glcontext.h.

void CGLContext::AlphaTestFuncChanged ( ) [inline]
 

Definition at line 204 of file glcontext.h.

void CGLContext::BeginDListDef ( unsigned int listID,
GLenum mode )
 

Definition at line 129 of file glcontext.cpp.

void CGLContext::BlendEnabledChanged ( ) [inline]
 

Definition at line 198 of file glcontext.h.

void CGLContext::BlendModeChanged ( ) [inline]
 

Definition at line 216 of file glcontext.h.

void CGLContext::CullFaceDirChanged ( ) [inline]
 

Definition at line 228 of file glcontext.h.

void CGLContext::CullFaceEnabledChanged ( ) [inline]
 

Definition at line 225 of file glcontext.h.

void CGLContext::CurMaterialChanged ( ) [inline]
 

Definition at line 176 of file glcontext.h.

Referenced by CMaterialManager::Color(), CMaterialManager::SetColorMaterialMode(), and CMaterialManager::SetUseColorMaterial().

void CGLContext::DepthWriteEnabledChanged ( ) [inline]
 

Definition at line 207 of file glcontext.h.

void CGLContext::DrawBufferChanged ( ) [inline]
 

Definition at line 219 of file glcontext.h.

void CGLContext::EndDListDef ( )
 

Definition at line 150 of file glcontext.cpp.

CMatrixStack & CGLContext::GetCurMatrixStack ( ) [inline]
 

Definition at line 136 of file glcontext.h.

CDListDrawContext & CGLContext::GetDListDrawContext ( ) [inline]
 

Definition at line 156 of file glcontext.h.

CDListGeomManager & CGLContext::GetDListGeomManager ( ) [inline]
 

Definition at line 146 of file glcontext.h.

CDListLighting & CGLContext::GetDListLighting ( ) [inline]
 

Definition at line 142 of file glcontext.h.

CDListManager & CGLContext::GetDListManager ( ) [inline]
 

Definition at line 150 of file glcontext.h.

Referenced by CTexManager::BindTexture(), CMaterialManager::SetColorMaterialMode(), CTexManager::SetCurClut(), CTexManager::SetCurTexImage(), CTexManager::SetCurTexParam(), CTexManager::SetGsTexture(), CTexManager::SetTexEnabled(), CTexManager::SetTexMode(), CMaterialManager::SetUseColorMaterial(), and SwapBuffers().

CDisplayContext & CGLContext::GetDisplayContext ( ) [inline]
 

Definition at line 158 of file glcontext.h.

Referenced by SwapBuffers().

CDrawContext & CGLContext::GetDrawContext ( ) [inline]
 

Definition at line 154 of file glcontext.h.

Referenced by glDisable(), and glEnable().

CGeomManager & CGLContext::GetGeomManager ( ) [inline]
 

Definition at line 144 of file glcontext.h.

Referenced by glDisable(), and glEnable().

tU32 CGLContext::GetGeomManagerPropsChanged ( ) const [inline]
 

Definition at line 244 of file glcontext.h.

tU32 CGLContext::GetGsContextChanged ( ) const [inline]
 

Definition at line 239 of file glcontext.h.

CImmDrawContext & CGLContext::GetImmDrawContext ( ) [inline]
 

Definition at line 155 of file glcontext.h.

Referenced by CImmMatrixStack::Concat(), CImmMatrixStack::Pop(), CImmMatrixStack::SetTop(), SwapBuffers(), CVsmManager::SyncGifTag(), and CVsmManager::TransferSetupInfo().

CImmGeomManager & CGLContext::GetImmGeomManager ( ) [inline]
 

Definition at line 145 of file glcontext.h.

Referenced by CImmLighting::SetLightingEnabled(), CTexManager::SetTexEnabled(), and SwapBuffers().

CImmLighting & CGLContext::GetImmLighting ( ) [inline]
 

Definition at line 141 of file glcontext.h.

Referenced by CVsmManager::TransferSetupInfo().

CLighting & CGLContext::GetLighting ( ) [inline]
 

Definition at line 140 of file glcontext.h.

Referenced by glDisable(), and glEnable().

CMaterialManager & CGLContext::GetMaterialManager ( ) [inline]
 

Definition at line 148 of file glcontext.h.

Referenced by CVsmManager::TransferSetupInfo(), glDisable(), and glEnable().

CImmMatrixStack & CGLContext::GetModelViewStack ( ) [inline]
 

Definition at line 137 of file glcontext.h.

Referenced by CVsmManager::TransferSetupInfo(), and glGetFloatv().

CImmMatrixStack & CGLContext::GetProjectionStack ( ) [inline]
 

Definition at line 138 of file glcontext.h.

Referenced by glGetFloatv().

CTexManager & CGLContext::GetTexManager ( ) [inline]
 

Definition at line 152 of file glcontext.h.

Referenced by CVsmManager::SyncGifTag(), CVsmManager::TransferSetupInfo(), glDisable(), and glEnable().

CVifSCDmaPacket & CGLContext::GetVif1Packet ( ) [inline]
 

Definition at line 249 of file glcontext.h.

tU32 CGLContext::GetVu1ContextChanged ( ) const [inline]
 

Definition at line 234 of file glcontext.h.

void CGLContext::GlobalAmbChanged ( ) [inline]
 

Definition at line 173 of file glcontext.h.

bool CGLContext::InDListDef ( ) const [inline]
 

Definition at line 160 of file glcontext.h.

Referenced by SetMatrixMode().

void CGLContext::LightPropChanged ( ) [inline]
 

Definition at line 170 of file glcontext.h.

void CGLContext::LightingEnabledChanged ( ) [inline]
 

Definition at line 194 of file glcontext.h.

Referenced by CImmLighting::SetLightingEnabled().

void CGLContext::NumLightsChanged ( ) [inline]
 

Definition at line 166 of file glcontext.h.

void CGLContext::PerVtxMaterialChanged ( ) [inline]
 

Definition at line 222 of file glcontext.h.

void CGLContext::PrimChanged ( ) [inline]
 

Definition at line 182 of file glcontext.h.

void CGLContext::SetGsContextChanged ( bool changed ) [inline]
 

Definition at line 240 of file glcontext.h.

Referenced by BeginDListDef(), and CGLContext().

void CGLContext::SetMatrixMode ( GLenum mode )
 

Definition at line 173 of file glcontext.cpp.

void CGLContext::SetRendererPropsChanged ( bool changed ) [inline]
 

Definition at line 245 of file glcontext.h.

Referenced by BeginDListDef(), and CGLContext().

void CGLContext::SetVu1ContextChanged ( bool changed ) [inline]
 

Definition at line 235 of file glcontext.h.

Referenced by BeginDListDef(), and CGLContext().

void CGLContext::ShadingChanged ( ) [inline]
 

Definition at line 186 of file glcontext.h.

void CGLContext::SpecularEnabledChanged ( ) [inline]
 

Definition at line 210 of file glcontext.h.

void CGLContext::SwapBuffers ( )
 

Definition at line 200 of file glcontext.cpp.

Referenced by pglSwapBuffers().

void CGLContext::TexEnabledChanged ( ) [inline]
 

Definition at line 189 of file glcontext.h.

Referenced by CTexManager::SetTexEnabled().

void CGLContext::TextureChanged ( ) [inline]
 

Definition at line 213 of file glcontext.h.

Referenced by CTexManager::BindTexture(), CTexManager::SetCurClut(), CTexManager::SetCurTexImage(), and CTexManager::SetGsTexture().

void CGLContext::WaitForVSync ( )
 

Definition at line 193 of file glcontext.cpp.

Referenced by pglWaitForVSync().

void CGLContext::XformChanged ( ) [inline]
 

Definition at line 179 of file glcontext.h.

Referenced by CImmDrawContext::SetVertexXformValid().


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