summaryrefslogtreecommitdiff
path: root/progs/util/shaderutil.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-08-20 14:29:26 -0600
committerBrian Paul <brianp@vmware.com>2009-08-20 14:43:32 -0600
commitf300db379e49c39418c4f05cc377ee7733d90163 (patch)
treefdb1067256d4973b977df4e7ccc46cb1afd841e8 /progs/util/shaderutil.h
parent8a883d165783d016923ea4b29a9e1e198b578a7a (diff)
progs/util: added GetShaderCompile/LinkTime() to get compilation/link times
Diffstat (limited to 'progs/util/shaderutil.h')
-rw-r--r--progs/util/shaderutil.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/util/shaderutil.h b/progs/util/shaderutil.h
index 0a6be02675..91c0d4094f 100644
--- a/progs/util/shaderutil.h
+++ b/progs/util/shaderutil.h
@@ -36,6 +36,12 @@ CompileShaderFile(GLenum shaderType, const char *filename);
extern GLuint
LinkShaders(GLuint vertShader, GLuint fragShader);
+extern GLdouble
+GetShaderCompileTime(void);
+
+extern GLdouble
+GetShaderLinkTime(void);
+
extern void
SetUniformValues(GLuint program, struct uniform_info uniforms[]);