summaryrefslogtreecommitdiff
path: root/src/opengl/qglframebufferobject.h
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2010-11-26 09:56:47 +0100
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2010-11-26 12:05:22 +0100
commit32b8c1cd7042aadc02dc3770b25d794d673af44f (patch)
tree4245b6ce62245a2f178c290d975b75dd504fddee /src/opengl/qglframebufferobject.h
parent7643d1016a6b4776cf671bbc595ec83002d2cc4e (diff)
downloadqt4-tools-32b8c1cd7042aadc02dc3770b25d794d673af44f.tar.gz
Added mipmap property to QGLFramebufferObjectFormat.
If the mipmap property is set, QGLFramebufferObject will allocate memory for mipmap levels. Reviewed-by: Gunnar
Diffstat (limited to 'src/opengl/qglframebufferobject.h')
-rw-r--r--src/opengl/qglframebufferobject.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/opengl/qglframebufferobject.h b/src/opengl/qglframebufferobject.h
index 6ff66457f7..70d6eb2971 100644
--- a/src/opengl/qglframebufferobject.h
+++ b/src/opengl/qglframebufferobject.h
@@ -148,6 +148,9 @@ public:
void setSamples(int samples);
int samples() const;
+ void setMipmap(bool enabled);
+ bool mipmap() const;
+
void setAttachment(QGLFramebufferObject::Attachment attachment);
QGLFramebufferObject::Attachment attachment() const;