HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RE_Visual Class Reference

#include <RE_Visual.h>

Public Member Functions

 RE_Visual (RE_DisplayMode newmode)
 
 ~RE_Visual ()
 
RE_OGLContext createContext (RE_Window *win) const
 
void deleteContext (RE_OGLContext) const
 
RE_OGLContext grabContext (RE_Window *win, bool attach=true)
 
void returnContext (RE_Window *win, RE_OGLContext ctx)
 
bool isMode (RE_DisplayMode match) const
 
bool isCompatibleWithMode (RE_DisplayMode match) const
 
bool isRGB () const
 
RE_DisplayMode getMode () const
 Returns the display mode used for the request to create this visual. More...
 
const QSurfaceFormat * getPixelFormat () const
 
bool canSupportQuadBufferStereo (OGLDrawable drawable)
 

Static Public Member Functions

static QOpenGLContext * getSharedGLContext ()
 
static void initDefaultGLFormat ()
 
static bool isDetachedContext (RE_OGLContext)
 
static const char * glWidgetTag ()
 
static const char * glWidgetWrapperTag ()
 
static QWidget * ownerWindowWidget (QWidget *gl_widget)
 Return the window widget that is bound to the specified GL widget. More...
 

Detailed Description

Definition at line 26 of file RE_Visual.h.

Constructor & Destructor Documentation

RE_Visual::RE_Visual ( RE_DisplayMode  newmode)
RE_Visual::~RE_Visual ( )

Member Function Documentation

bool RE_Visual::canSupportQuadBufferStereo ( OGLDrawable  drawable)
RE_OGLContext RE_Visual::createContext ( RE_Window win) const
void RE_Visual::deleteContext ( RE_OGLContext  ) const
RE_DisplayMode RE_Visual::getMode ( ) const
inline

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

Definition at line 46 of file RE_Visual.h.

const QSurfaceFormat* RE_Visual::getPixelFormat ( ) const
static QOpenGLContext* RE_Visual::getSharedGLContext ( )
static
static const char* RE_Visual::glWidgetTag ( )
static

Return the tag we use to identify our GL widgets. This is useful when handling events in the event loop.

static const char* RE_Visual::glWidgetWrapperTag ( )
static

Return the tag we use to identify our GL widget wrappers. This is useful when handling events in the event loop.

RE_OGLContext RE_Visual::grabContext ( RE_Window win,
bool  attach = true 
)
static void RE_Visual::initDefaultGLFormat ( )
static
bool RE_Visual::isCompatibleWithMode ( RE_DisplayMode  match) const
static bool RE_Visual::isDetachedContext ( RE_OGLContext  )
static
bool RE_Visual::isMode ( RE_DisplayMode  match) const
bool RE_Visual::isRGB ( ) const
static QWidget* RE_Visual::ownerWindowWidget ( QWidget *  gl_widget)
static

Return the window widget that is bound to the specified GL widget.

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

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