HDK
|
#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... | |
Definition at line 29 of file RE_Visual.h.
RE_Visual::RE_Visual | ( | RE_DisplayMode | newmode | ) |
RE_Visual::~RE_Visual | ( | ) |
bool RE_Visual::canSupportQuadBufferStereo | ( | OGLDrawable | drawable | ) |
RE_OGLContext RE_Visual::createContext | ( | RE_Window * | win | ) | const |
void RE_Visual::deleteContext | ( | RE_OGLContext | ) | const |
|
inline |
Returns the display mode used for the request to create this visual.
Definition at line 57 of file RE_Visual.h.
const QSurfaceFormat* RE_Visual::getPixelFormat | ( | ) | const |
|
static |
|
static |
Return the tag we use to identify our GL widgets. This is useful when handling events in the event loop.
|
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 |
bool RE_Visual::isCompatibleWithMode | ( | RE_DisplayMode | match | ) | const |
|
static |
bool RE_Visual::isMode | ( | RE_DisplayMode | match | ) | const |
bool RE_Visual::isRGB | ( | ) | const |
|
static |
Return the window widget that is bound to the specified GL widget.
void RE_Visual::returnContext | ( | RE_Window * | win, |
RE_OGLContext | ctx | ||
) |