summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-10-30 13:00:35 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-11-02 11:57:55 (GMT)
commit64fbefa605d976ab752149bb39880893c82ad8c0 (patch)
tree91e9e0a06dcf1d9736724c9ec4dbae6c690136c7 /src/opengl/qgl.h
parent2a902676b74d0aa3482e722602879f7a02be1103 (diff)
downloadQt-64fbefa605d976ab752149bb39880893c82ad8c0.zip
Qt-64fbefa605d976ab752149bb39880893c82ad8c0.tar.gz
Qt-64fbefa605d976ab752149bb39880893c82ad8c0.tar.bz2
Optimized animated blur radii in the GL 2 paint engine.
We add an internal cache which keeps four half-scaled versions of the source pixmap at different blur radii, then we simply interpolate between the two pixmaps around the desired blur radius, or between the base source pixmap and the first blurred version. Reviewed-by: Gunnar Sletta
Diffstat (limited to 'src/opengl/qgl.h')
-rw-r--r--src/opengl/qgl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/qgl.h b/src/opengl/qgl.h
index e14e7fb..079953f 100644
--- a/src/opengl/qgl.h
+++ b/src/opengl/qgl.h
@@ -399,6 +399,7 @@ private:
friend class QGLTextureGlyphCache;
friend class QGLShareRegister;
friend class QGLSharedResourceGuard;
+ friend class QGLPixmapBlurFilter;
friend QGLFormat::OpenGLVersionFlags QGLFormat::openGLVersionFlags();
#ifdef Q_WS_MAC
public: