PS2GL
OpenGL*-like API for the PS2
Loading...
Searching...
No Matches
CGLContext Class Reference
+ Collaboration diagram for CGLContext:

Public Member Functions

 CGLContext (int immBufferQwordSize, int immDrawBufferQwordSize)
 
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 BeginImmediateGeometry ()
 
void EndImmediateGeometry ()
 
void RenderImmediateGeometry ()
 
void FinishRenderingImmediateGeometry (bool forceImmediateStop)
 
void BeginGeometry ()
 
void EndGeometry ()
 
void RenderGeometry ()
 
void FinishRenderingGeometry (bool forceImmediateStop)
 
void AddingDrawEnvToPacket (void *de)
 
void ** GetDrawEnvPtrs ()
 
int GetNumDrawEnvPtrs () const
 
bool GetCurrentFieldIsEven () const
 
void AddBufferToBeFreed (void *buf)
 
void NumLightsChanged ()
 
void LightPropChanged ()
 
void GlobalAmbChanged ()
 
void CurMaterialChanged ()
 
void XformChanged ()
 
void PrimChanged ()
 
void ShadingChanged ()
 
void TexEnabledChanged ()
 
void LightingEnabledChanged ()
 
void BlendEnabledChanged ()
 
void DrawEnvChanged ()
 
void AlphaTestEnabledChanged ()
 
void DepthTestEnabledChanged ()
 
void DrawInterlacedChanged ()
 
void AlphaTestFuncChanged ()
 
void DepthTestFuncChanged ()
 
void DepthWriteEnabledChanged ()
 
void FrameBufferDrawMaskChanged ()
 
void SpecularEnabledChanged ()
 
void TextureChanged ()
 
void BlendModeChanged ()
 
void DrawBufferChanged ()
 
void PerVtxMaterialChanged ()
 
void ClippingEnabledChanged ()
 
void CullFaceEnabledChanged ()
 
void CullFaceDirChanged ()
 
void ArrayAccessChanged ()
 
void PolyModeChanged ()
 
tU32 GetRendererContextChanged () const
 
void SetRendererContextChanged (bool changed)
 
tU32 GetGsContextChanged () const
 
void SetGsContextChanged (bool changed)
 
tU32 GetRendererPropsChanged () const
 
void SetRendererPropsChanged (bool changed)
 
void PushVif1Packet ()
 
void PopVif1Packet ()
 
void SetVif1Packet (CVifSCDmaPacket &packet)
 
CVifSCDmaPacket & GetVif1Packet ()
 
void WaitForVSync ()
 
void SwapBuffers ()
 

Static Public Member Functions

static tU16 GetPs2glSignalId ()
 
static void SetRenderingFinishedCallback (tRenderingFinishedCallback cb)
 

Private Types

typedef void(* tRenderingFinishedCallback) (void)
 

Private Member Functions

void PushStateChanges ()
 
void PopStateChanges ()
 
void FreeWaitingBuffersAndSwap ()
 
void EndVif1Packet (unsigned short signalNum)
 

Static Private Member Functions

static int GsIntHandler (int cause)
 

Private Attributes

CImmMatrixStackProjectionMatStack
 
CImmMatrixStackModelViewMatStack
 
CDListMatrixStackDListMatStack
 
CMatrixStackCurMatrixStack
 
CMatrixStackSavedCurMatStack
 
CImmLightingImmLighting
 
CDListLightingDListLighting
 
CLightingCurLighting
 
CImmGeomManagerImmGManager
 
CDListGeomManagerDListGManager
 
CGeomManagerCurGManager
 
CMaterialManagerMaterialManager
 
CDListManagerDListManager
 
CTexManagerTexManager
 
CImmDrawContextImmDrawContext
 
CDListDrawContextDListDrawContext
 
CDrawContextCurDrawContext
 
CDisplayContextDisplayContext
 
tU32 RendererContextChanged
 
tU32 SavedRendererContextChanges
 
tU32 GsContextChanged
 
tU32 SavedGsContextChanges
 
tU32 RendererPropsChanged
 
tU32 SavedRendererPropsChanges
 
bool StateChangesArePushed
 
bool IsCurrentFieldEven
 
unsigned int CurrentFrameNumber
 
void * DrawEnvPtrs0 [kMaxDrawEnvChanges]
 
void * DrawEnvPtrs1 [kMaxDrawEnvChanges]
 
void ** CurDrawEnvPtrs
 
void ** LastDrawEnvPtrs
 
int NumCurDrawEnvPtrs
 
int NumLastDrawEnvPtrs
 
int CurBuffer
 
void * BuffersToBeFreed [2][kMaxBuffersToBeFreed]
 
int NumBuffersToBeFreed [2]
 

Static Private Attributes

static const int kDmaPacketMaxQwordLength = 65000
 
static CVifSCDmaPacket * CurPacket
 
static CVifSCDmaPacket * LastPacket
 
static CVifSCDmaPacket * Vif1Packet = NULL
 
static CVifSCDmaPacket * SavedVif1Packet = NULL
 
static CVifSCDmaPacket * ImmVif1Packet
 
static const int kMaxDrawEnvChanges = 100
 
static const int kMaxBuffersToBeFreed = 1024
 
static const tU64 Ps2glSignalId = 0xffffffff00000000 | (tU32)'G' << 24 | (tU32)'L' << 16
 
static int RenderingFinishedSemaId = -1
 Semaphores signaled by the gs int handler.
 
static int ImmediateRenderingFinishedSemaId = -1
 
static int VsyncSemaId = -1
 
static tRenderingFinishedCallback RenderingFinishedCallback = NULL
 

Detailed Description

Definition at line 86 of file glcontext.h.

Member Typedef Documentation

◆ tRenderingFinishedCallback

typedef void(* CGLContext::tRenderingFinishedCallback) (void)
private

Definition at line 176 of file glcontext.h.

Constructor & Destructor Documentation

◆ CGLContext()

CGLContext::CGLContext ( int  immBufferQwordSize,
int  immDrawBufferQwordSize 
)

Definition at line 56 of file glcontext.cpp.

◆ ~CGLContext()

CGLContext::~CGLContext ( )

Definition at line 134 of file glcontext.cpp.

Member Function Documentation

◆ PushStateChanges()

void CGLContext::PushStateChanges ( )
inlineprivate

Definition at line 116 of file glcontext.h.

◆ PopStateChanges()

void CGLContext::PopStateChanges ( )
inlineprivate

Definition at line 124 of file glcontext.h.

◆ GsIntHandler()

int CGLContext::GsIntHandler ( int  cause)
staticprivate

Definition at line 339 of file glcontext.cpp.

◆ FreeWaitingBuffersAndSwap()

void CGLContext::FreeWaitingBuffersAndSwap ( )
private

Definition at line 451 of file glcontext.cpp.

◆ EndVif1Packet()

void CGLContext::EndVif1Packet ( unsigned short  signalNum)
private

Definition at line 297 of file glcontext.cpp.

◆ SetMatrixMode()

void CGLContext::SetMatrixMode ( GLenum  mode)

Definition at line 221 of file glcontext.cpp.

◆ GetCurMatrixStack()

CMatrixStack & CGLContext::GetCurMatrixStack ( )
inline

Definition at line 184 of file glcontext.h.

◆ GetModelViewStack()

CImmMatrixStack & CGLContext::GetModelViewStack ( )
inline

Definition at line 185 of file glcontext.h.

◆ GetProjectionStack()

CImmMatrixStack & CGLContext::GetProjectionStack ( )
inline

Definition at line 186 of file glcontext.h.

◆ GetLighting()

CLighting & CGLContext::GetLighting ( )
inline

Definition at line 188 of file glcontext.h.

◆ GetImmLighting()

CImmLighting & CGLContext::GetImmLighting ( )
inline

Definition at line 189 of file glcontext.h.

◆ GetDListLighting()

CDListLighting & CGLContext::GetDListLighting ( )
inline

Definition at line 190 of file glcontext.h.

◆ GetGeomManager()

CGeomManager & CGLContext::GetGeomManager ( )
inline

Definition at line 192 of file glcontext.h.

◆ GetImmGeomManager()

CImmGeomManager & CGLContext::GetImmGeomManager ( )
inline

Definition at line 193 of file glcontext.h.

◆ GetDListGeomManager()

CDListGeomManager & CGLContext::GetDListGeomManager ( )
inline

Definition at line 194 of file glcontext.h.

◆ GetMaterialManager()

CMaterialManager & CGLContext::GetMaterialManager ( )
inline

Definition at line 196 of file glcontext.h.

◆ GetDListManager()

CDListManager & CGLContext::GetDListManager ( )
inline

Definition at line 198 of file glcontext.h.

◆ GetTexManager()

CTexManager & CGLContext::GetTexManager ( )
inline

Definition at line 200 of file glcontext.h.

◆ GetDrawContext()

CDrawContext & CGLContext::GetDrawContext ( )
inline

Definition at line 202 of file glcontext.h.

◆ GetImmDrawContext()

CImmDrawContext & CGLContext::GetImmDrawContext ( )
inline

Definition at line 203 of file glcontext.h.

◆ GetDListDrawContext()

CDListDrawContext & CGLContext::GetDListDrawContext ( )
inline

Definition at line 204 of file glcontext.h.

◆ GetDisplayContext()

CDisplayContext & CGLContext::GetDisplayContext ( )
inline

Definition at line 206 of file glcontext.h.

◆ InDListDef()

bool CGLContext::InDListDef ( ) const
inline

Definition at line 208 of file glcontext.h.

◆ BeginDListDef()

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

Definition at line 163 of file glcontext.cpp.

◆ EndDListDef()

void CGLContext::EndDListDef ( )

Definition at line 186 of file glcontext.cpp.

◆ BeginImmediateGeometry()

void CGLContext::BeginImmediateGeometry ( )

Definition at line 243 of file glcontext.cpp.

◆ EndImmediateGeometry()

void CGLContext::EndImmediateGeometry ( )

Definition at line 257 of file glcontext.cpp.

◆ RenderImmediateGeometry()

void CGLContext::RenderImmediateGeometry ( )

Definition at line 266 of file glcontext.cpp.

◆ FinishRenderingImmediateGeometry()

void CGLContext::FinishRenderingImmediateGeometry ( bool  forceImmediateStop)

Definition at line 275 of file glcontext.cpp.

◆ BeginGeometry()

void CGLContext::BeginGeometry ( )

Definition at line 285 of file glcontext.cpp.

◆ EndGeometry()

void CGLContext::EndGeometry ( )

Definition at line 292 of file glcontext.cpp.

◆ RenderGeometry()

void CGLContext::RenderGeometry ( )

Definition at line 328 of file glcontext.cpp.

◆ FinishRenderingGeometry()

void CGLContext::FinishRenderingGeometry ( bool  forceImmediateStop)

Definition at line 394 of file glcontext.cpp.

◆ AddingDrawEnvToPacket()

void CGLContext::AddingDrawEnvToPacket ( void *  de)
inline

Definition at line 222 of file glcontext.h.

◆ GetDrawEnvPtrs()

void ** CGLContext::GetDrawEnvPtrs ( )
inline

Definition at line 228 of file glcontext.h.

◆ GetNumDrawEnvPtrs()

int CGLContext::GetNumDrawEnvPtrs ( ) const
inline

Definition at line 229 of file glcontext.h.

◆ GetCurrentFieldIsEven()

bool CGLContext::GetCurrentFieldIsEven ( ) const
inline

Definition at line 231 of file glcontext.h.

◆ 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

Definition at line 249 of file glcontext.h.

◆ NumLightsChanged()

void CGLContext::NumLightsChanged ( )
inline

Definition at line 256 of file glcontext.h.

◆ LightPropChanged()

void CGLContext::LightPropChanged ( )
inline

Definition at line 261 of file glcontext.h.

◆ GlobalAmbChanged()

void CGLContext::GlobalAmbChanged ( )
inline

Definition at line 265 of file glcontext.h.

◆ CurMaterialChanged()

void CGLContext::CurMaterialChanged ( )
inline

Definition at line 269 of file glcontext.h.

◆ XformChanged()

void CGLContext::XformChanged ( )
inline

Definition at line 273 of file glcontext.h.

◆ PrimChanged()

void CGLContext::PrimChanged ( )
inline

Definition at line 277 of file glcontext.h.

◆ ShadingChanged()

void CGLContext::ShadingChanged ( )
inline

Definition at line 282 of file glcontext.h.

◆ TexEnabledChanged()

void CGLContext::TexEnabledChanged ( )
inline

Definition at line 286 of file glcontext.h.

◆ LightingEnabledChanged()

void CGLContext::LightingEnabledChanged ( )
inline

Definition at line 292 of file glcontext.h.

◆ BlendEnabledChanged()

void CGLContext::BlendEnabledChanged ( )
inline

Definition at line 297 of file glcontext.h.

◆ DrawEnvChanged()

void CGLContext::DrawEnvChanged ( )
inline

Definition at line 301 of file glcontext.h.

◆ AlphaTestEnabledChanged()

void CGLContext::AlphaTestEnabledChanged ( )
inline

Definition at line 305 of file glcontext.h.

◆ DepthTestEnabledChanged()

void CGLContext::DepthTestEnabledChanged ( )
inline

Definition at line 309 of file glcontext.h.

◆ DrawInterlacedChanged()

void CGLContext::DrawInterlacedChanged ( )
inline

Definition at line 313 of file glcontext.h.

◆ AlphaTestFuncChanged()

void CGLContext::AlphaTestFuncChanged ( )
inline

Definition at line 317 of file glcontext.h.

◆ DepthTestFuncChanged()

void CGLContext::DepthTestFuncChanged ( )
inline

Definition at line 321 of file glcontext.h.

◆ DepthWriteEnabledChanged()

void CGLContext::DepthWriteEnabledChanged ( )
inline

Definition at line 325 of file glcontext.h.

◆ FrameBufferDrawMaskChanged()

void CGLContext::FrameBufferDrawMaskChanged ( )
inline

Definition at line 329 of file glcontext.h.

◆ SpecularEnabledChanged()

void CGLContext::SpecularEnabledChanged ( )
inline

Definition at line 333 of file glcontext.h.

◆ TextureChanged()

void CGLContext::TextureChanged ( )
inline

Definition at line 337 of file glcontext.h.

◆ BlendModeChanged()

void CGLContext::BlendModeChanged ( )
inline

Definition at line 341 of file glcontext.h.

◆ DrawBufferChanged()

void CGLContext::DrawBufferChanged ( )
inline

Definition at line 345 of file glcontext.h.

◆ PerVtxMaterialChanged()

void CGLContext::PerVtxMaterialChanged ( )
inline

Definition at line 349 of file glcontext.h.

◆ ClippingEnabledChanged()

void CGLContext::ClippingEnabledChanged ( )
inline

Definition at line 353 of file glcontext.h.

◆ CullFaceEnabledChanged()

void CGLContext::CullFaceEnabledChanged ( )
inline

Definition at line 358 of file glcontext.h.

◆ CullFaceDirChanged()

void CGLContext::CullFaceDirChanged ( )
inline

Definition at line 362 of file glcontext.h.

◆ ArrayAccessChanged()

void CGLContext::ArrayAccessChanged ( )
inline

Definition at line 366 of file glcontext.h.

◆ PolyModeChanged()

void CGLContext::PolyModeChanged ( )
inline

Definition at line 370 of file glcontext.h.

◆ GetRendererContextChanged()

tU32 CGLContext::GetRendererContextChanged ( ) const
inline

Definition at line 377 of file glcontext.h.

◆ SetRendererContextChanged()

void CGLContext::SetRendererContextChanged ( bool  changed)
inline

Definition at line 378 of file glcontext.h.

◆ GetGsContextChanged()

tU32 CGLContext::GetGsContextChanged ( ) const
inline

Definition at line 383 of file glcontext.h.

◆ SetGsContextChanged()

void CGLContext::SetGsContextChanged ( bool  changed)
inline

Definition at line 384 of file glcontext.h.

◆ GetRendererPropsChanged()

tU32 CGLContext::GetRendererPropsChanged ( ) const
inline

Definition at line 389 of file glcontext.h.

◆ SetRendererPropsChanged()

void CGLContext::SetRendererPropsChanged ( bool  changed)
inline

Definition at line 390 of file glcontext.h.

◆ PushVif1Packet()

void CGLContext::PushVif1Packet ( )
inline

Definition at line 395 of file glcontext.h.

◆ PopVif1Packet()

void CGLContext::PopVif1Packet ( )
inline

Definition at line 400 of file glcontext.h.

◆ SetVif1Packet()

void CGLContext::SetVif1Packet ( CVifSCDmaPacket &  packet)
inline

Definition at line 406 of file glcontext.h.

◆ GetVif1Packet()

CVifSCDmaPacket & CGLContext::GetVif1Packet ( )
inline

Definition at line 407 of file glcontext.h.

◆ WaitForVSync()

void CGLContext::WaitForVSync ( )

Definition at line 402 of file glcontext.cpp.

◆ SwapBuffers()

void CGLContext::SwapBuffers ( )

Definition at line 419 of file glcontext.cpp.

Field Documentation

◆ ProjectionMatStack

CImmMatrixStack* CGLContext::ProjectionMatStack
private

Definition at line 87 of file glcontext.h.

◆ ModelViewMatStack

CImmMatrixStack * CGLContext::ModelViewMatStack
private

Definition at line 87 of file glcontext.h.

◆ DListMatStack

CDListMatrixStack* CGLContext::DListMatStack
private

Definition at line 88 of file glcontext.h.

◆ CurMatrixStack

CMatrixStack* CGLContext::CurMatrixStack
private

Definition at line 89 of file glcontext.h.

◆ SavedCurMatStack

CMatrixStack * CGLContext::SavedCurMatStack
private

Definition at line 89 of file glcontext.h.

◆ ImmLighting

CImmLighting* CGLContext::ImmLighting
private

Definition at line 91 of file glcontext.h.

◆ DListLighting

CDListLighting* CGLContext::DListLighting
private

Definition at line 92 of file glcontext.h.

◆ CurLighting

CLighting* CGLContext::CurLighting
private

Definition at line 93 of file glcontext.h.

◆ ImmGManager

CImmGeomManager* CGLContext::ImmGManager
private

Definition at line 95 of file glcontext.h.

◆ DListGManager

CDListGeomManager* CGLContext::DListGManager
private

Definition at line 96 of file glcontext.h.

◆ CurGManager

CGeomManager* CGLContext::CurGManager
private

Definition at line 97 of file glcontext.h.

◆ MaterialManager

CMaterialManager* CGLContext::MaterialManager
private

Definition at line 99 of file glcontext.h.

◆ DListManager

CDListManager* CGLContext::DListManager
private

Definition at line 100 of file glcontext.h.

◆ TexManager

CTexManager* CGLContext::TexManager
private

Definition at line 101 of file glcontext.h.

◆ ImmDrawContext

CImmDrawContext* CGLContext::ImmDrawContext
private

Definition at line 103 of file glcontext.h.

◆ DListDrawContext

CDListDrawContext* CGLContext::DListDrawContext
private

Definition at line 104 of file glcontext.h.

◆ CurDrawContext

CDrawContext* CGLContext::CurDrawContext
private

Definition at line 105 of file glcontext.h.

◆ DisplayContext

CDisplayContext* CGLContext::DisplayContext
private

Definition at line 107 of file glcontext.h.

◆ RendererContextChanged

tU32 CGLContext::RendererContextChanged
private

Definition at line 111 of file glcontext.h.

◆ SavedRendererContextChanges

tU32 CGLContext::SavedRendererContextChanges
private

Definition at line 111 of file glcontext.h.

◆ GsContextChanged

tU32 CGLContext::GsContextChanged
private

Definition at line 112 of file glcontext.h.

◆ SavedGsContextChanges

tU32 CGLContext::SavedGsContextChanges
private

Definition at line 112 of file glcontext.h.

◆ RendererPropsChanged

tU32 CGLContext::RendererPropsChanged
private

Definition at line 113 of file glcontext.h.

◆ SavedRendererPropsChanges

tU32 CGLContext::SavedRendererPropsChanges
private

Definition at line 113 of file glcontext.h.

◆ StateChangesArePushed

bool CGLContext::StateChangesArePushed
private

Definition at line 114 of file glcontext.h.

◆ IsCurrentFieldEven

bool CGLContext::IsCurrentFieldEven
private

Definition at line 136 of file glcontext.h.

◆ CurrentFrameNumber

unsigned int CGLContext::CurrentFrameNumber
private

Definition at line 137 of file glcontext.h.

◆ kDmaPacketMaxQwordLength

const int CGLContext::kDmaPacketMaxQwordLength = 65000
staticprivate

Definition at line 140 of file glcontext.h.

◆ CurPacket

CVifSCDmaPacket * CGLContext::CurPacket
staticprivate

Definition at line 141 of file glcontext.h.

◆ LastPacket

CVifSCDmaPacket * CGLContext::LastPacket
staticprivate

Definition at line 141 of file glcontext.h.

◆ Vif1Packet

CVifSCDmaPacket * CGLContext::Vif1Packet = NULL
staticprivate

Definition at line 142 of file glcontext.h.

◆ SavedVif1Packet

CVifSCDmaPacket * CGLContext::SavedVif1Packet = NULL
staticprivate

Definition at line 142 of file glcontext.h.

◆ ImmVif1Packet

CVifSCDmaPacket * CGLContext::ImmVif1Packet
staticprivate

Definition at line 143 of file glcontext.h.

◆ kMaxDrawEnvChanges

const int CGLContext::kMaxDrawEnvChanges = 100
staticprivate

Definition at line 151 of file glcontext.h.

◆ DrawEnvPtrs0

void* CGLContext::DrawEnvPtrs0[kMaxDrawEnvChanges]
private

Definition at line 152 of file glcontext.h.

◆ DrawEnvPtrs1

void* CGLContext::DrawEnvPtrs1[kMaxDrawEnvChanges]
private

Definition at line 153 of file glcontext.h.

◆ CurDrawEnvPtrs

void** CGLContext::CurDrawEnvPtrs
private

Definition at line 154 of file glcontext.h.

◆ LastDrawEnvPtrs

void ** CGLContext::LastDrawEnvPtrs
private

Definition at line 154 of file glcontext.h.

◆ NumCurDrawEnvPtrs

int CGLContext::NumCurDrawEnvPtrs
private

Definition at line 155 of file glcontext.h.

◆ NumLastDrawEnvPtrs

int CGLContext::NumLastDrawEnvPtrs
private

Definition at line 155 of file glcontext.h.

◆ kMaxBuffersToBeFreed

const int CGLContext::kMaxBuffersToBeFreed = 1024
staticprivate

Definition at line 158 of file glcontext.h.

◆ CurBuffer

int CGLContext::CurBuffer
private

Definition at line 159 of file glcontext.h.

◆ BuffersToBeFreed

void* CGLContext::BuffersToBeFreed[2][kMaxBuffersToBeFreed]
private

Definition at line 160 of file glcontext.h.

◆ NumBuffersToBeFreed

int CGLContext::NumBuffersToBeFreed[2]
private

Definition at line 161 of file glcontext.h.

◆ 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

Definition at line 168 of file glcontext.h.

◆ VsyncSemaId

int CGLContext::VsyncSemaId = -1
staticprivate

Definition at line 168 of file glcontext.h.

◆ RenderingFinishedCallback

CGLContext::tRenderingFinishedCallback CGLContext::RenderingFinishedCallback = NULL
staticprivate

Definition at line 177 of file glcontext.h.


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