|
HDK
|
#include <RE_Visual.h>
Public Member Functions | |
| RE_Visual (RE_DisplayMode newmode) | |
| ~RE_Visual () | |
| RE_WindowDrawable * | createDrawable (RE_Window *win) const |
| void | deleteDrawable (RE_WindowDrawable *drawable) const |
| RE_WindowDrawable * | grabDrawable (RE_Window *win, bool attach=true) |
| void | returnDrawable (RE_Window *win, RE_WindowDrawable *drawable) |
| RE_OGLContext | createContext (RE_Window *win) const |
| ====================================================================== More... | |
| 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 |
| ====================================================================== More... | |
| 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 | canDrawableSupportQuadBufferStereo (RE_WindowDrawable *drawable) |
| bool | canSupportQuadBufferStereo (OGLDrawable drawable) |
| ====================================================================== More... | |
Static Public Member Functions | |
| static QOpenGLContext * | getSharedGLContext () |
| static void | initDefaultGLFormat () |
| 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 27 of file RE_Visual.h.
| RE_Visual::RE_Visual | ( | RE_DisplayMode | newmode | ) |
| RE_Visual::~RE_Visual | ( | ) |
| bool RE_Visual::canDrawableSupportQuadBufferStereo | ( | RE_WindowDrawable * | drawable | ) |
====================================================================== For new 2D UI drawing.
| bool RE_Visual::canSupportQuadBufferStereo | ( | OGLDrawable | drawable | ) |
======================================================================
====================================================================== For OpenGL 2D UI drawing.
| RE_OGLContext RE_Visual::createContext | ( | RE_Window * | win | ) | const |
======================================================================
====================================================================== For OpenGL 2D UI drawing.
| RE_WindowDrawable* RE_Visual::createDrawable | ( | RE_Window * | win | ) | const |
====================================================================== For new 2D UI drawing.
| void RE_Visual::deleteContext | ( | RE_OGLContext | ) | const |
| void RE_Visual::deleteDrawable | ( | RE_WindowDrawable * | drawable | ) | const |
|
inline |
Returns the display mode used for the request to create this visual.
Definition at line 61 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 |
||
| ) |
| RE_WindowDrawable* RE_Visual::grabDrawable | ( | RE_Window * | win, |
| bool | attach = true |
||
| ) |
|
static |
| bool RE_Visual::isCompatibleWithMode | ( | RE_DisplayMode | match | ) | const |
| 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 | ||
| ) |
| void RE_Visual::returnDrawable | ( | RE_Window * | win, |
| RE_WindowDrawable * | drawable | ||
| ) |