1 #ifndef __RE_Visual_h__
2 #define __RE_Visual_h__
63 const QSurfaceFormat * getPixelFormat()
const;
64 static QOpenGLContext * getSharedGLContext();
65 static void initDefaultGLFormat();
69 static const char * glWidgetTag();
73 static const char * glWidgetWrapperTag();
76 static QWidget * ownerWindowWidget(QWidget *gl_widget);
80 bool canDrawableSupportQuadBufferStereo(
86 bool canSupportQuadBufferStereo(
OGLDrawable drawable);
91 void createSharedGLWidget_();
92 void testGLVersions_();
93 bool canCreateGLContext_(
94 int gl_major,
int gl_minor,
95 bool use_core_profile);
114 QWidget *myStashWidget;
116 QSurfaceFormat * myPixelFormat;
==========================================================================
RE_DisplayMode getMode() const
Returns the display mode used for the request to create this visual.
QOpenGLContext * RE_OGLContext