summaryrefslogtreecommitdiff
path: root/src/opengl/qglframebufferobject.cpp
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-05-11 14:19:37 +0200
committerDavid Boddie <david.boddie@nokia.com>2011-05-11 17:36:31 +0200
commit9e0bfde7cdb439d9ef416cd932340a90cc61abb8 (patch)
treeadc0bc5c33838f9d48e0d72e9e59dc3112a6edd0 /src/opengl/qglframebufferobject.cpp
parent4f6ccce6ad8b6df523fd354aac2bcd32a7a65bc4 (diff)
downloadqt4-tools-9e0bfde7cdb439d9ef416cd932340a90cc61abb8.tar.gz
Doc: Fixed qdoc warnings.
Diffstat (limited to 'src/opengl/qglframebufferobject.cpp')
-rw-r--r--src/opengl/qglframebufferobject.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/opengl/qglframebufferobject.cpp b/src/opengl/qglframebufferobject.cpp
index 8eda222c8d..d882916425 100644
--- a/src/opengl/qglframebufferobject.cpp
+++ b/src/opengl/qglframebufferobject.cpp
@@ -205,13 +205,16 @@ int QGLFramebufferObjectFormat::samples() const
/*!
\since 4.8
- Enables or disables mipmapping. Mipmapping is disabled by default.
+ Enables mipmapping if \a enabled is true; otherwise disables it.
+
+ Mipmapping is disabled by default.
+
If mipmapping is enabled, additional memory will be allocated for
the mipmap levels. The mipmap levels can be updated by binding the
texture and calling glGenerateMipmap(). Mipmapping cannot be enabled
for multisampled framebuffer objects.
- \sa mipmap(), texture()
+ \sa mipmap(), QGLFramebufferObject::texture()
*/
void QGLFramebufferObjectFormat::setMipmap(bool enabled)
{
@@ -713,7 +716,7 @@ void QGLFramebufferObjectPrivate::init(QGLFramebufferObject *q, const QSize &sz,
as a texture, you first need to copy from it to a regular framebuffer
object using QGLContext::blitFramebuffer().
- \section Threading
+ \section1 Threading
As of Qt 4.8, it's possible to draw into a QGLFramebufferObject
using a QPainter in a separate thread. Note that OpenGL 2.0 or