50QOpenGLVersionProfile::QOpenGLVersionProfile(
const QSurfaceFormat &format)
51 : d(
new QOpenGLVersionProfilePrivate)
53 d->majorVersion = format.majorVersion();
54 d->minorVersion = format.minorVersion();
55 d->profile = format.profile();
162QDebug operator<<(QDebug debug,
const QOpenGLVersionProfile &vp)
164 QDebugStateSaver saver(debug);
166 debug <<
"QOpenGLVersionProfile(";
168 debug << vp.version().first <<
'.' << vp.version().second
169 <<
", profile=" << vp.profile();