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

Public Member Functions

 CDisplayContext (CGLContext &context)
 
GS::CDisplayEnv & GetDisplayEnv ()
 
void SetDisplayBuffers (bool interlaced, GS::CMemArea *frame0Mem, GS::CMemArea *frame1Mem)
 
void SwapBuffers ()
 

Private Attributes

CGLContextGLContext
 
GS::CMemArea * Frame0Mem
 
GS::CMemArea * Frame1Mem
 
GS::CMemArea * CurFrameMem
 
GS::CMemArea * LastFrameMem
 
GS::CDisplayEnv * DisplayEnv
 
bool DisplayIsDblBuffered
 
bool DisplayIsInterlaced
 

Detailed Description

Definition at line 17 of file displaycontext.h.

Constructor & Destructor Documentation

◆ CDisplayContext()

CDisplayContext::CDisplayContext ( CGLContext context)

Definition at line 14 of file displaycontext.cpp.

◆ ~CDisplayContext()

CDisplayContext::~CDisplayContext ( )

Definition at line 27 of file displaycontext.cpp.

Member Function Documentation

◆ GetDisplayEnv()

GS::CDisplayEnv & CDisplayContext::GetDisplayEnv ( )
inline

Definition at line 32 of file displaycontext.h.

◆ SetDisplayBuffers()

void CDisplayContext::SetDisplayBuffers ( bool  interlaced,
GS::CMemArea *  frame0Mem,
GS::CMemArea *  frame1Mem 
)

Definition at line 35 of file displaycontext.cpp.

◆ SwapBuffers()

void CDisplayContext::SwapBuffers ( )

Definition at line 58 of file displaycontext.cpp.

Field Documentation

◆ GLContext

CGLContext& CDisplayContext::GLContext
private

Definition at line 18 of file displaycontext.h.

◆ Frame0Mem

GS::CMemArea* CDisplayContext::Frame0Mem
private

Definition at line 21 of file displaycontext.h.

◆ Frame1Mem

GS::CMemArea * CDisplayContext::Frame1Mem
private

Definition at line 21 of file displaycontext.h.

◆ CurFrameMem

GS::CMemArea* CDisplayContext::CurFrameMem
private

Definition at line 22 of file displaycontext.h.

◆ LastFrameMem

GS::CMemArea * CDisplayContext::LastFrameMem
private

Definition at line 22 of file displaycontext.h.

◆ DisplayEnv

GS::CDisplayEnv* CDisplayContext::DisplayEnv
private

Definition at line 23 of file displaycontext.h.

◆ DisplayIsDblBuffered

bool CDisplayContext::DisplayIsDblBuffered
private

Definition at line 25 of file displaycontext.h.

◆ DisplayIsInterlaced

bool CDisplayContext::DisplayIsInterlaced
private

Definition at line 26 of file displaycontext.h.


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