Definition at line 86 of file glcontext.h.
◆ tRenderingFinishedCallback
typedef void(* CGLContext::tRenderingFinishedCallback) (void) |
|
private |
◆ CGLContext()
CGLContext::CGLContext |
( |
int |
immBufferQwordSize, |
|
|
int |
immDrawBufferQwordSize |
|
) |
| |
◆ ~CGLContext()
CGLContext::~CGLContext |
( |
| ) |
|
◆ PushStateChanges()
void CGLContext::PushStateChanges |
( |
| ) |
|
|
inlineprivate |
◆ PopStateChanges()
void CGLContext::PopStateChanges |
( |
| ) |
|
|
inlineprivate |
◆ GsIntHandler()
int CGLContext::GsIntHandler |
( |
int |
cause | ) |
|
|
staticprivate |
◆ FreeWaitingBuffersAndSwap()
void CGLContext::FreeWaitingBuffersAndSwap |
( |
| ) |
|
|
private |
◆ EndVif1Packet()
void CGLContext::EndVif1Packet |
( |
unsigned short |
signalNum | ) |
|
|
private |
◆ SetMatrixMode()
void CGLContext::SetMatrixMode |
( |
GLenum |
mode | ) |
|
◆ GetCurMatrixStack()
◆ GetModelViewStack()
◆ GetProjectionStack()
◆ GetLighting()
◆ GetImmLighting()
◆ GetDListLighting()
◆ GetGeomManager()
◆ GetImmGeomManager()
◆ GetDListGeomManager()
◆ GetMaterialManager()
◆ GetDListManager()
◆ GetTexManager()
◆ GetDrawContext()
◆ GetImmDrawContext()
◆ GetDListDrawContext()
◆ GetDisplayContext()
◆ InDListDef()
bool CGLContext::InDListDef |
( |
| ) |
const |
|
inline |
◆ BeginDListDef()
void CGLContext::BeginDListDef |
( |
unsigned int |
listID, |
|
|
GLenum |
mode |
|
) |
| |
◆ EndDListDef()
void CGLContext::EndDListDef |
( |
| ) |
|
◆ BeginImmediateGeometry()
void CGLContext::BeginImmediateGeometry |
( |
| ) |
|
◆ EndImmediateGeometry()
void CGLContext::EndImmediateGeometry |
( |
| ) |
|
◆ RenderImmediateGeometry()
void CGLContext::RenderImmediateGeometry |
( |
| ) |
|
◆ FinishRenderingImmediateGeometry()
void CGLContext::FinishRenderingImmediateGeometry |
( |
bool |
forceImmediateStop | ) |
|
◆ BeginGeometry()
void CGLContext::BeginGeometry |
( |
| ) |
|
◆ EndGeometry()
void CGLContext::EndGeometry |
( |
| ) |
|
◆ RenderGeometry()
void CGLContext::RenderGeometry |
( |
| ) |
|
◆ FinishRenderingGeometry()
void CGLContext::FinishRenderingGeometry |
( |
bool |
forceImmediateStop | ) |
|
◆ AddingDrawEnvToPacket()
void CGLContext::AddingDrawEnvToPacket |
( |
void * |
de | ) |
|
|
inline |
◆ GetDrawEnvPtrs()
void ** CGLContext::GetDrawEnvPtrs |
( |
| ) |
|
|
inline |
◆ GetNumDrawEnvPtrs()
int CGLContext::GetNumDrawEnvPtrs |
( |
| ) |
const |
|
inline |
◆ GetCurrentFieldIsEven()
bool CGLContext::GetCurrentFieldIsEven |
( |
| ) |
const |
|
inline |
◆ GetPs2glSignalId()
static tU16 CGLContext::GetPs2glSignalId |
( |
| ) |
|
|
inlinestatic |
This is the upper 16 bits of the 32-bit values written to the signal register by ps2gl. (The lower 16 bits are used to differentiate signals.)
Definition at line 237 of file glcontext.h.
References Ps2glSignalId.
◆ AddBufferToBeFreed()
void CGLContext::AddBufferToBeFreed |
( |
void * |
buf | ) |
|
|
inline |
util - add a block of memory to a list to be freed at the end of the frame
Definition at line 243 of file glcontext.h.
◆ SetRenderingFinishedCallback()
static void CGLContext::SetRenderingFinishedCallback |
( |
tRenderingFinishedCallback |
cb | ) |
|
|
inlinestatic |
◆ NumLightsChanged()
void CGLContext::NumLightsChanged |
( |
| ) |
|
|
inline |
◆ LightPropChanged()
void CGLContext::LightPropChanged |
( |
| ) |
|
|
inline |
◆ GlobalAmbChanged()
void CGLContext::GlobalAmbChanged |
( |
| ) |
|
|
inline |
◆ CurMaterialChanged()
void CGLContext::CurMaterialChanged |
( |
| ) |
|
|
inline |
◆ XformChanged()
void CGLContext::XformChanged |
( |
| ) |
|
|
inline |
◆ PrimChanged()
void CGLContext::PrimChanged |
( |
| ) |
|
|
inline |
◆ ShadingChanged()
void CGLContext::ShadingChanged |
( |
| ) |
|
|
inline |
◆ TexEnabledChanged()
void CGLContext::TexEnabledChanged |
( |
| ) |
|
|
inline |
◆ LightingEnabledChanged()
void CGLContext::LightingEnabledChanged |
( |
| ) |
|
|
inline |
◆ BlendEnabledChanged()
void CGLContext::BlendEnabledChanged |
( |
| ) |
|
|
inline |
◆ DrawEnvChanged()
void CGLContext::DrawEnvChanged |
( |
| ) |
|
|
inline |
◆ AlphaTestEnabledChanged()
void CGLContext::AlphaTestEnabledChanged |
( |
| ) |
|
|
inline |
◆ DepthTestEnabledChanged()
void CGLContext::DepthTestEnabledChanged |
( |
| ) |
|
|
inline |
◆ DrawInterlacedChanged()
void CGLContext::DrawInterlacedChanged |
( |
| ) |
|
|
inline |
◆ AlphaTestFuncChanged()
void CGLContext::AlphaTestFuncChanged |
( |
| ) |
|
|
inline |
◆ DepthTestFuncChanged()
void CGLContext::DepthTestFuncChanged |
( |
| ) |
|
|
inline |
◆ DepthWriteEnabledChanged()
void CGLContext::DepthWriteEnabledChanged |
( |
| ) |
|
|
inline |
◆ FrameBufferDrawMaskChanged()
void CGLContext::FrameBufferDrawMaskChanged |
( |
| ) |
|
|
inline |
◆ SpecularEnabledChanged()
void CGLContext::SpecularEnabledChanged |
( |
| ) |
|
|
inline |
◆ TextureChanged()
void CGLContext::TextureChanged |
( |
| ) |
|
|
inline |
◆ BlendModeChanged()
void CGLContext::BlendModeChanged |
( |
| ) |
|
|
inline |
◆ DrawBufferChanged()
void CGLContext::DrawBufferChanged |
( |
| ) |
|
|
inline |
◆ PerVtxMaterialChanged()
void CGLContext::PerVtxMaterialChanged |
( |
| ) |
|
|
inline |
◆ ClippingEnabledChanged()
void CGLContext::ClippingEnabledChanged |
( |
| ) |
|
|
inline |
◆ CullFaceEnabledChanged()
void CGLContext::CullFaceEnabledChanged |
( |
| ) |
|
|
inline |
◆ CullFaceDirChanged()
void CGLContext::CullFaceDirChanged |
( |
| ) |
|
|
inline |
◆ ArrayAccessChanged()
void CGLContext::ArrayAccessChanged |
( |
| ) |
|
|
inline |
◆ PolyModeChanged()
void CGLContext::PolyModeChanged |
( |
| ) |
|
|
inline |
◆ GetRendererContextChanged()
tU32 CGLContext::GetRendererContextChanged |
( |
| ) |
const |
|
inline |
◆ SetRendererContextChanged()
void CGLContext::SetRendererContextChanged |
( |
bool |
changed | ) |
|
|
inline |
◆ GetGsContextChanged()
tU32 CGLContext::GetGsContextChanged |
( |
| ) |
const |
|
inline |
◆ SetGsContextChanged()
void CGLContext::SetGsContextChanged |
( |
bool |
changed | ) |
|
|
inline |
◆ GetRendererPropsChanged()
tU32 CGLContext::GetRendererPropsChanged |
( |
| ) |
const |
|
inline |
◆ SetRendererPropsChanged()
void CGLContext::SetRendererPropsChanged |
( |
bool |
changed | ) |
|
|
inline |
◆ PushVif1Packet()
void CGLContext::PushVif1Packet |
( |
| ) |
|
|
inline |
◆ PopVif1Packet()
void CGLContext::PopVif1Packet |
( |
| ) |
|
|
inline |
◆ SetVif1Packet()
void CGLContext::SetVif1Packet |
( |
CVifSCDmaPacket & |
packet | ) |
|
|
inline |
◆ GetVif1Packet()
CVifSCDmaPacket & CGLContext::GetVif1Packet |
( |
| ) |
|
|
inline |
◆ WaitForVSync()
void CGLContext::WaitForVSync |
( |
| ) |
|
◆ SwapBuffers()
void CGLContext::SwapBuffers |
( |
| ) |
|
◆ ProjectionMatStack
◆ ModelViewMatStack
◆ DListMatStack
◆ CurMatrixStack
◆ SavedCurMatStack
◆ ImmLighting
◆ DListLighting
◆ CurLighting
◆ ImmGManager
◆ DListGManager
◆ CurGManager
◆ MaterialManager
◆ DListManager
◆ TexManager
◆ ImmDrawContext
◆ DListDrawContext
◆ CurDrawContext
◆ DisplayContext
◆ RendererContextChanged
tU32 CGLContext::RendererContextChanged |
|
private |
◆ SavedRendererContextChanges
tU32 CGLContext::SavedRendererContextChanges |
|
private |
◆ GsContextChanged
tU32 CGLContext::GsContextChanged |
|
private |
◆ SavedGsContextChanges
tU32 CGLContext::SavedGsContextChanges |
|
private |
◆ RendererPropsChanged
tU32 CGLContext::RendererPropsChanged |
|
private |
◆ SavedRendererPropsChanges
tU32 CGLContext::SavedRendererPropsChanges |
|
private |
◆ StateChangesArePushed
bool CGLContext::StateChangesArePushed |
|
private |
◆ IsCurrentFieldEven
bool CGLContext::IsCurrentFieldEven |
|
private |
◆ CurrentFrameNumber
unsigned int CGLContext::CurrentFrameNumber |
|
private |
◆ kDmaPacketMaxQwordLength
const int CGLContext::kDmaPacketMaxQwordLength = 65000 |
|
staticprivate |
◆ CurPacket
CVifSCDmaPacket * CGLContext::CurPacket |
|
staticprivate |
◆ LastPacket
CVifSCDmaPacket * CGLContext::LastPacket |
|
staticprivate |
◆ Vif1Packet
CVifSCDmaPacket * CGLContext::Vif1Packet = NULL |
|
staticprivate |
◆ SavedVif1Packet
CVifSCDmaPacket * CGLContext::SavedVif1Packet = NULL |
|
staticprivate |
◆ ImmVif1Packet
CVifSCDmaPacket * CGLContext::ImmVif1Packet |
|
staticprivate |
◆ kMaxDrawEnvChanges
const int CGLContext::kMaxDrawEnvChanges = 100 |
|
staticprivate |
◆ DrawEnvPtrs0
void* CGLContext::DrawEnvPtrs0[kMaxDrawEnvChanges] |
|
private |
◆ DrawEnvPtrs1
void* CGLContext::DrawEnvPtrs1[kMaxDrawEnvChanges] |
|
private |
◆ CurDrawEnvPtrs
void** CGLContext::CurDrawEnvPtrs |
|
private |
◆ LastDrawEnvPtrs
void ** CGLContext::LastDrawEnvPtrs |
|
private |
◆ NumCurDrawEnvPtrs
int CGLContext::NumCurDrawEnvPtrs |
|
private |
◆ NumLastDrawEnvPtrs
int CGLContext::NumLastDrawEnvPtrs |
|
private |
◆ kMaxBuffersToBeFreed
const int CGLContext::kMaxBuffersToBeFreed = 1024 |
|
staticprivate |
◆ CurBuffer
int CGLContext::CurBuffer |
|
private |
◆ BuffersToBeFreed
void* CGLContext::BuffersToBeFreed[2][kMaxBuffersToBeFreed] |
|
private |
◆ NumBuffersToBeFreed
int CGLContext::NumBuffersToBeFreed[2] |
|
private |
◆ Ps2glSignalId
const tU64 CGLContext::Ps2glSignalId = 0xffffffff00000000 | (tU32)'G' << 24 | (tU32)'L' << 16 |
|
staticprivate |
this value will be written to the signal register as the last item in the dma chain. The method to query its value is below.
Definition at line 165 of file glcontext.h.
Referenced by GetPs2glSignalId().
◆ RenderingFinishedSemaId
int CGLContext::RenderingFinishedSemaId = -1 |
|
staticprivate |
Semaphores signaled by the gs int handler.
Definition at line 168 of file glcontext.h.
◆ ImmediateRenderingFinishedSemaId
int CGLContext::ImmediateRenderingFinishedSemaId = -1 |
|
staticprivate |
◆ VsyncSemaId
int CGLContext::VsyncSemaId = -1 |
|
staticprivate |
◆ RenderingFinishedCallback
CGLContext::tRenderingFinishedCallback CGLContext::RenderingFinishedCallback = NULL |
|
staticprivate |
The documentation for this class was generated from the following files: