1 #ifndef __RE_Visual_h__
2 #define __RE_Visual_h__
51 void deleteQPainterDrawable(
55 void returnQPainterDrawable(
82 const QSurfaceFormat * getPixelFormat()
const;
83 static QOpenGLContext * getSharedGLContext();
84 static void initDefaultGLFormat();
88 static const char * glWidgetTag();
92 static const char * glWidgetWrapperTag();
95 static QWidget * ownerWindowWidget(QWidget *gl_widget);
99 bool canDrawableSupportQuadBufferStereo(
105 bool canSupportQuadBufferStereo(
OGLDrawable drawable);
110 void createSharedGLWidget_();
111 void testGLVersions_();
112 bool canCreateGLContext_(
113 int gl_major,
int gl_minor,
114 bool use_core_profile);
124 UT_Lock myQPainterDrawableLock;
137 QWidget *myStashWidget;
139 QSurfaceFormat * myPixelFormat;
==========================================================================
RE_DisplayMode getMode() const
Returns the display mode used for the request to create this visual.
Window drawable that uses only QPainter for the new UI path.
QOpenGLContext * RE_OGLContext