1 #ifndef __RE_Visual_h__
2 #define __RE_Visual_h__
18 #if defined(EXPERIMENTAL_QOPENGLWIDGET)
35 #if defined(EXPERIMENTAL_QOPENGLWIDGET)
59 const QSurfaceFormat * getPixelFormat()
const;
60 static QOpenGLContext * getSharedGLContext();
61 static void initDefaultGLFormat();
63 #if defined(EXPERIMENTAL_QOPENGLWIDGET)
71 static const char * glWidgetTag();
75 static const char * glWidgetWrapperTag();
78 static QWidget * ownerWindowWidget(QWidget *gl_widget);
80 #if defined(EXPERIMENTAL_QOPENGLWIDGET)
81 bool canSupportQuadBufferStereo(
84 bool canSupportQuadBufferStereo(
OGLDrawable drawable);
89 void createSharedGLWidget_();
90 void testGLVersions_();
91 bool canCreateGLContext_(
92 int gl_major,
int gl_minor,
93 bool use_core_profile);
97 #if defined(EXPERIMENTAL_QOPENGLWIDGET)
108 QWidget *myStashWidget;
110 QSurfaceFormat * myPixelFormat;
RE_DisplayMode getMode() const
Returns the display mode used for the request to create this visual.
QOpenGLContext * RE_OGLContext