1 #ifndef __RE_Visual_h__
2 #define __RE_Visual_h__
48 const QSurfaceFormat * getPixelFormat()
const;
49 static QOpenGLContext * getSharedGLContext();
50 static void initDefaultGLFormat();
56 static const char * glWidgetTag();
60 static const char * glWidgetWrapperTag();
63 static QWidget * ownerWindowWidget(QWidget *gl_widget);
65 bool canSupportQuadBufferStereo(
OGLDrawable drawable);
69 void createSharedGLWidget_();
70 void testGLVersions_();
71 bool canCreateGLContext_(
72 int gl_major,
int gl_minor,
73 bool use_core_profile);
83 QWidget *myStashWidget;
85 QSurfaceFormat * myPixelFormat;
RE_DisplayMode getMode() const
Returns the display mode used for the request to create this visual.
QOpenGLContext * RE_OGLContext