RE_Visual Class Reference

#include <RE_Visual.h>

Inheritance diagram for RE_Visual:

RE_EGLVisual RE_NTVisual RE_OSXVisual RE_XVisual

List of all members.

Public Member Functions

 RE_Visual ()
virtual ~RE_Visual ()
virtual RE_OGLContext createContext (RE_Window *win) const =0
virtual void deleteContext (RE_OGLContext) const =0
RE_OGLContext grabContext (RE_Window *win)
void returnContext (RE_Window *win, RE_OGLContext ctx)
bool isMode (RE_DisplayMode match) const
bool isCompatibleWithMode (RE_DisplayMode match) const
int isRGB () const
RE_DisplayMode getMode () const
 Returns the display mode used for the request to create this visual.
virtual bool canSupportQuadBufferStereo (OGLDrawable drawable)
bool isQuadBufferStereo () const
 Returns true if the visual is actually in quad buffer streo mode.

Protected Attributes

RE_DisplayMode myVisualMode
bool myQuadBufferStereoFlag
RE_OGLContext myMainThreadContext
RE_OGLContext myMainThreadAltContext
UT_ThreadSpecificValue
< RE_OGLContext
myThreadSpecificContext
UT_ThreadSpecificValue
< RE_OGLContext
myThreadSpecificAlternateContext
bool myInitializedMainThreadContext
UT_Lock myContextLock
UT_RefArray< RE_OGLContextmyVisibleContexts
UT_RefArray< RE_OGLContextmyOffscreenContexts


Detailed Description

Definition at line 15 of file RE_Visual.h.


Constructor & Destructor Documentation

RE_Visual::RE_Visual (  ) 

virtual RE_Visual::~RE_Visual (  )  [virtual]


Member Function Documentation

virtual bool RE_Visual::canSupportQuadBufferStereo ( OGLDrawable  drawable  )  [virtual]

Returns true if the visual can support quad buffer stereo if it were created with the stereo display mode flag.

Reimplemented in RE_NTVisual.

virtual RE_OGLContext RE_Visual::createContext ( RE_Window win  )  const [pure virtual]

Implemented in RE_NTVisual, RE_OSXVisual, and RE_XVisual.

virtual void RE_Visual::deleteContext ( RE_OGLContext   )  const [pure virtual]

Implemented in RE_NTVisual, RE_OSXVisual, and RE_XVisual.

RE_DisplayMode RE_Visual::getMode (  )  const [inline]

Returns the display mode used for the request to create this visual.

Definition at line 44 of file RE_Visual.h.

RE_OGLContext RE_Visual::grabContext ( RE_Window win  ) 

bool RE_Visual::isCompatibleWithMode ( RE_DisplayMode  match  )  const

bool RE_Visual::isMode ( RE_DisplayMode  match  )  const

bool RE_Visual::isQuadBufferStereo (  )  const [inline]

Returns true if the visual is actually in quad buffer streo mode.

Definition at line 51 of file RE_Visual.h.

int RE_Visual::isRGB (  )  const

void RE_Visual::returnContext ( RE_Window win,
RE_OGLContext  ctx 
)


Member Data Documentation

Definition at line 65 of file RE_Visual.h.

Definition at line 63 of file RE_Visual.h.

Definition at line 60 of file RE_Visual.h.

Definition at line 59 of file RE_Visual.h.

Definition at line 67 of file RE_Visual.h.

Definition at line 57 of file RE_Visual.h.

Definition at line 62 of file RE_Visual.h.

Definition at line 61 of file RE_Visual.h.

Definition at line 66 of file RE_Visual.h.

Definition at line 55 of file RE_Visual.h.


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

Generated on Mon Jan 28 00:29:51 2013 for HDK by  doxygen 1.5.9