summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglshaderprogram.h
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-10-26 01:47:54 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-10-26 01:47:54 (GMT)
commit91462fa3ac02aa88e3aeeacfa9fc4d4dbb8fe2a1 (patch)
treedb560a52fae57f11779a5ed647aa36dbb6f2cafa /src/opengl/qglshaderprogram.h
parente7c6757f53f81442c138f4354db958a893d9e611 (diff)
downloadQt-91462fa3ac02aa88e3aeeacfa9fc4d4dbb8fe2a1.zip
Qt-91462fa3ac02aa88e3aeeacfa9fc4d4dbb8fe2a1.tar.gz
Qt-91462fa3ac02aa88e3aeeacfa9fc4d4dbb8fe2a1.tar.bz2
Optimize concatenation of partial shaders
Reviewed-by: Sarah Smith
Diffstat (limited to 'src/opengl/qglshaderprogram.h')
-rw-r--r--src/opengl/qglshaderprogram.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opengl/qglshaderprogram.h b/src/opengl/qglshaderprogram.h
index f2d70fa..2848b5f 100644
--- a/src/opengl/qglshaderprogram.h
+++ b/src/opengl/qglshaderprogram.h
@@ -106,6 +106,8 @@ private:
friend class QGLShaderProgram;
Q_DISABLE_COPY(QGLShader)
+
+ bool compile(const QList<QGLShader *>& shaders, QGLShader::ShaderType type);
};
Q_DECLARE_OPERATORS_FOR_FLAGS(QGLShader::ShaderType)