summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorIikka Eklund <iikka.eklund@digia.com>2014-04-01 11:44:26 +0300
committerIikka Eklund <iikka.eklund@digia.com>2014-04-01 11:44:27 +0300
commit0ab63b035a649dc1982c867cd37d466d249004b9 (patch)
tree6de22edcd3957aae3eee698136a000e52ab7f8fe /src/opengl
parenta6f8aa0ae1d5a1d1099df1891ea60b14b6eb6065 (diff)
parent0cb2c760c219514849ab0f6be8e5368f92dfa5d9 (diff)
Merge remote-tracking branch 'origin/stable' into dev
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/doc/src/qtopengl-index.qdoc2
-rw-r--r--src/opengl/qgl.cpp47
-rw-r--r--src/opengl/qglfunctions.cpp4
3 files changed, 4 insertions, 49 deletions
diff --git a/src/opengl/doc/src/qtopengl-index.qdoc b/src/opengl/doc/src/qtopengl-index.qdoc
index fc131c4b17..ff946c6e4e 100644
--- a/src/opengl/doc/src/qtopengl-index.qdoc
+++ b/src/opengl/doc/src/qtopengl-index.qdoc
@@ -68,5 +68,5 @@
non-OpenGL-specific GUI functionality.
The \l{Qt OpenGL C++ Classes} page gives an overview over the available classes
- int this module.
+ in this module.
*/
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp
index de1de476b8..e602a05af9 100644
--- a/src/opengl/qgl.cpp
+++ b/src/opengl/qgl.cpp
@@ -3227,43 +3227,6 @@ void QGLContext::moveToThread(QThread *thread)
visual. On other platforms it may work differently.
*/
-/*! \fn int QGLContext::choosePixelFormat(void* dummyPfd, HDC pdc)
-
- \b{Win32 only:} This virtual function chooses a pixel format
- that matches the OpenGL \l{setFormat()}{format}.
- Reimplement this function in a subclass if you need a custom
- context.
-
- \warning The \a dummyPfd pointer and \a pdc are used as a \c
- PIXELFORMATDESCRIPTOR*. We use \c void to avoid using
- Windows-specific types in our header files.
-
- \sa chooseContext()
-*/
-
-/*! \fn void *QGLContext::chooseVisual()
-
- \b{X11 only:} This virtual function tries to find a visual that
- matches the format, reducing the demands if the original request
- cannot be met.
-
- The algorithm for reducing the demands of the format is quite
- simple-minded, so override this method in your subclass if your
- application has spcific requirements on visual selection.
-
- \sa chooseContext()
-*/
-
-/*! \fn void *QGLContext::tryVisual(const QGLFormat& f, int bufDepth)
- \internal
-
- \b{X11 only:} This virtual function chooses a visual that matches
- the OpenGL \l{format()}{format}. Reimplement this function
- in a subclass if you need a custom visual.
-
- \sa chooseContext()
-*/
-
/*!
\fn void QGLContext::reset()
@@ -3706,7 +3669,7 @@ QGLWidget::~QGLWidget()
*/
/*!
- \fn QFunctionPointer QGLContext::getProcAddress() const
+ \fn QFunctionPointer QGLContext::getProcAddress(const QString &proc) const
Returns a function pointer to the GL extension function passed in
\a proc. 0 is returned if a pointer to the function could not be
@@ -4046,14 +4009,6 @@ void QGLWidget::paintEvent(QPaintEvent *)
/*!
- \fn void QGLWidget::setMouseTracking(bool enable)
-
- If \a enable is true then mouse tracking is enabled; otherwise it
- is disabled.
-*/
-
-
-/*!
Renders the current scene on a pixmap and returns the pixmap.
You can use this method on both visible and invisible QGLWidget objects.
diff --git a/src/opengl/qglfunctions.cpp b/src/opengl/qglfunctions.cpp
index 450f17b171..d6d77d0568 100644
--- a/src/opengl/qglfunctions.cpp
+++ b/src/opengl/qglfunctions.cpp
@@ -466,7 +466,7 @@ void QGLFunctions::initializeGLFunctions(const QGLContext *context)
*/
/*!
- \fn void QGLFunctions::glBufferData(GLenum target, qgl_GLsizeiptr size, const void* data, GLenum usage)
+ \fn void QGLFunctions::glBufferData(GLenum target, qopengl_GLsizeiptr size, const void* data, GLenum usage)
Convenience function that calls glBufferData(\a target, \a size, \a data, \a usage).
@@ -475,7 +475,7 @@ void QGLFunctions::initializeGLFunctions(const QGLContext *context)
*/
/*!
- \fn void QGLFunctions::glBufferSubData(GLenum target, qgl_GLintptr offset, qgl_GLsizeiptr size, const void* data)
+ \fn void QGLFunctions::glBufferSubData(GLenum target, qopengl_GLintptr offset, qopengl_GLsizeiptr size, const void* data)
Convenience function that calls glBufferSubData(\a target, \a offset, \a size, \a data).