summaryrefslogtreecommitdiffstats
path: root/src/opengl/qpaintengine_opengl.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-09-15 12:19:57 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-09-15 12:39:53 (GMT)
commit57e0656e92ac8e8dac1a6d6f1e434a78d641e05a (patch)
tree1f4b8f48ff5922474b25fa79eb305ca0bb12af2b /src/opengl/qpaintengine_opengl.cpp
parent14b0db1a93deb0fd13dd27c1d6bda9d78b544b68 (diff)
downloadQt-57e0656e92ac8e8dac1a6d6f1e434a78d641e05a.zip
Qt-57e0656e92ac8e8dac1a6d6f1e434a78d641e05a.tar.gz
Qt-57e0656e92ac8e8dac1a6d6f1e434a78d641e05a.tar.bz2
Removed GL1 pixmap filters and ported colorize filter to GL2 engine.
The GL1 engine will use the raster fall back for pixmap filters. We anyhow use GLSL for the filters, which requires OpenGL 2 support, and in that case the GL2 engine is the default. Reviewed-by: Gunnar Sletta
Diffstat (limited to 'src/opengl/qpaintengine_opengl.cpp')
-rw-r--r--src/opengl/qpaintengine_opengl.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/opengl/qpaintengine_opengl.cpp b/src/opengl/qpaintengine_opengl.cpp
index ff00f29..bd3883a 100644
--- a/src/opengl/qpaintengine_opengl.cpp
+++ b/src/opengl/qpaintengine_opengl.cpp
@@ -5625,20 +5625,6 @@ void QOpenGLPaintEnginePrivate::ensureDrawableTexture()
#endif
}
-QPixmapFilter *QOpenGLPaintEngine::createPixmapFilter(int type) const
-{
-#if !defined(QT_OPENGL_ES_1) && !defined(QT_OPENGL_ES_1_CL)
- if (QGLContext::currentContext())
- return QGLContext::currentContext()->d_func()->createPixmapFilter(type);
- else
- return 0;
-#else
- Q_UNUSED(type);
- return 0;
-#endif
-}
-
-
QT_END_NAMESPACE
#include "qpaintengine_opengl.moc"