equal
deleted
inserted
replaced
264 OpenGL_ES_Common_Version_1_1 = 0x00000200, |
264 OpenGL_ES_Common_Version_1_1 = 0x00000200, |
265 OpenGL_ES_CommonLite_Version_1_1 = 0x00000400, |
265 OpenGL_ES_CommonLite_Version_1_1 = 0x00000400, |
266 OpenGL_ES_Version_2_0 = 0x00000800, |
266 OpenGL_ES_Version_2_0 = 0x00000800, |
267 OpenGL_Version_3_0 = 0x00001000, |
267 OpenGL_Version_3_0 = 0x00001000, |
268 OpenGL_Version_3_1 = 0x00002000, |
268 OpenGL_Version_3_1 = 0x00002000, |
269 OpenGL_Version_3_2 = 0x00004000 |
269 OpenGL_Version_3_2 = 0x00004000, |
|
270 OpenGL_Version_3_3 = 0x00008000, |
|
271 OpenGL_Version_4_0 = 0x00010000 |
270 }; |
272 }; |
271 Q_DECLARE_FLAGS(OpenGLVersionFlags, OpenGLVersionFlag) |
273 Q_DECLARE_FLAGS(OpenGLVersionFlags, OpenGLVersionFlag) |
272 |
274 |
273 static OpenGLVersionFlags openGLVersionFlags(); |
275 static OpenGLVersionFlags openGLVersionFlags(); |
274 |
276 |
277 |
279 |
278 void detach(); |
280 void detach(); |
279 |
281 |
280 friend Q_OPENGL_EXPORT bool operator==(const QGLFormat&, const QGLFormat&); |
282 friend Q_OPENGL_EXPORT bool operator==(const QGLFormat&, const QGLFormat&); |
281 friend Q_OPENGL_EXPORT bool operator!=(const QGLFormat&, const QGLFormat&); |
283 friend Q_OPENGL_EXPORT bool operator!=(const QGLFormat&, const QGLFormat&); |
|
284 #ifndef QT_NO_DEBUG_STREAM |
|
285 friend Q_OPENGL_EXPORT QDebug operator<<(QDebug, const QGLFormat &); |
|
286 #endif |
282 }; |
287 }; |
283 |
288 |
284 Q_DECLARE_OPERATORS_FOR_FLAGS(QGLFormat::OpenGLVersionFlags) |
289 Q_DECLARE_OPERATORS_FOR_FLAGS(QGLFormat::OpenGLVersionFlags) |
285 |
290 |
286 Q_OPENGL_EXPORT bool operator==(const QGLFormat&, const QGLFormat&); |
291 Q_OPENGL_EXPORT bool operator==(const QGLFormat&, const QGLFormat&); |
287 Q_OPENGL_EXPORT bool operator!=(const QGLFormat&, const QGLFormat&); |
292 Q_OPENGL_EXPORT bool operator!=(const QGLFormat&, const QGLFormat&); |
|
293 |
|
294 #ifndef QT_NO_DEBUG_STREAM |
|
295 Q_OPENGL_EXPORT QDebug operator<<(QDebug, const QGLFormat &); |
|
296 #endif |
288 |
297 |
289 class Q_OPENGL_EXPORT QGLContext |
298 class Q_OPENGL_EXPORT QGLContext |
290 { |
299 { |
291 Q_DECLARE_PRIVATE(QGLContext) |
300 Q_DECLARE_PRIVATE(QGLContext) |
292 public: |
301 public: |