summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-08-25 08:31:26 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-08-25 14:36:47 (GMT)
commit03bfdba7d45ddbf086376a20568a49525dddf845 (patch)
treecc70a7641577e05691b6061aa6cbb26712eeefae /src/opengl
parentf393f7f45b22990ed22308a912b7a00cc7ddd78e (diff)
downloadQt-03bfdba7d45ddbf086376a20568a49525dddf845.zip
Qt-03bfdba7d45ddbf086376a20568a49525dddf845.tar.gz
Qt-03bfdba7d45ddbf086376a20568a49525dddf845.tar.bz2
Removed warnings / debug output in the GL 2 engine / pixmap filter code.
Reviewed-by: Tom
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/gl2paintengineex/qglengineshadermanager.cpp2
-rw-r--r--src/opengl/gl2paintengineex/qglengineshadermanager_p.h1
-rw-r--r--src/opengl/qpixmapdata_gl.cpp2
3 files changed, 1 insertions, 4 deletions
diff --git a/src/opengl/gl2paintengineex/qglengineshadermanager.cpp b/src/opengl/gl2paintengineex/qglengineshadermanager.cpp
index 795c8b0..e6b1994 100644
--- a/src/opengl/gl2paintengineex/qglengineshadermanager.cpp
+++ b/src/opengl/gl2paintengineex/qglengineshadermanager.cpp
@@ -161,7 +161,7 @@ QGLEngineShaderManager::QGLEngineShaderManager(QGLContext* context)
#if defined(QT_DEBUG)
// Check that all the elements have been filled:
for (int i = 0; i < TotalShaderCount; ++i) {
- if (i != CustomImageSrcFragmentShader && qglEngineShaderSourceCode[i] == 0) {
+ if (qglEngineShaderSourceCode[i] == 0) {
int enumIndex = staticMetaObject.indexOfEnumerator("ShaderName");
QMetaEnum m = staticMetaObject.enumerator(enumIndex);
diff --git a/src/opengl/gl2paintengineex/qglengineshadermanager_p.h b/src/opengl/gl2paintengineex/qglengineshadermanager_p.h
index 1ee75df..d5241a8 100644
--- a/src/opengl/gl2paintengineex/qglengineshadermanager_p.h
+++ b/src/opengl/gl2paintengineex/qglengineshadermanager_p.h
@@ -361,7 +361,6 @@ public:
MainFragmentShader,
ImageSrcFragmentShader,
- CustomSrcFragmentShader,
ImageSrcWithPatternFragmentShader,
NonPremultipliedImageSrcFragmentShader,
CustomImageSrcFragmentShader,
diff --git a/src/opengl/qpixmapdata_gl.cpp b/src/opengl/qpixmapdata_gl.cpp
index a441a23..80e99a0 100644
--- a/src/opengl/qpixmapdata_gl.cpp
+++ b/src/opengl/qpixmapdata_gl.cpp
@@ -108,7 +108,6 @@ QGLFramebufferObject *QGLFramebufferObjectPool::acquire(const QSize &requestSize
if (sz != fboSize) {
delete candidate;
- qDebug() << "Resizing fbo in pool:" << sz;
candidate = new QGLFramebufferObject(sz, requestFormat);
}
@@ -117,7 +116,6 @@ QGLFramebufferObject *QGLFramebufferObjectPool::acquire(const QSize &requestSize
}
if (!chosen) {
- qDebug() << "Creating new fbo in pool:" << requestSize;
chosen = new QGLFramebufferObject(requestSize, requestFormat);
}