diff options
Diffstat (limited to 'src/gui/kernel/qplatformopenglcontext_qpa.cpp')
-rw-r--r-- | src/gui/kernel/qplatformopenglcontext_qpa.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/gui/kernel/qplatformopenglcontext_qpa.cpp b/src/gui/kernel/qplatformopenglcontext_qpa.cpp index 3b2ce2465b..e764419825 100644 --- a/src/gui/kernel/qplatformopenglcontext_qpa.cpp +++ b/src/gui/kernel/qplatformopenglcontext_qpa.cpp @@ -65,25 +65,18 @@ QT_BEGIN_NAMESPACE which maps to the QPlatformOpenGLContext. */ -/*! \fn void QPlatformOpenGLContext::swapBuffers() +/*! \fn void QPlatformOpenGLContext::swapBuffers(QPlatformSurface *surface) Reimplement in subclass to native swap buffers calls The implementation must support being called in a thread different than the gui-thread. */ -/*! \fn void *QPlatformOpenGLContext::getProcAddress(const QString &procName) +/*! \fn QFunctionPointer QPlatformOpenGLContext::getProcAddress(const QByteArray &procName) Reimplement in subclass to native getProcAddr calls. Note: its convenient to use qPrintable(const QString &str) to get the const char * pointer */ -/*! \fn QPlatformWindowFormat QPlatformOpenGLContext::platformWindowFormat() const - QWidget has the function qplatformWindowFormat(). That function is for the application - programmer to request the format of the window and the context that he wants. - - Reimplement this function in a subclass to indicate what format the glContext actually has. -*/ - class QPlatformOpenGLContextPrivate { public: |