diff options
author | Brian Paul <brianp@vmware.com> | 2009-08-20 14:29:26 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-08-20 14:43:32 -0600 |
commit | f300db379e49c39418c4f05cc377ee7733d90163 (patch) | |
tree | fdb1067256d4973b977df4e7ccc46cb1afd841e8 /progs/util/shaderutil.h | |
parent | 8a883d165783d016923ea4b29a9e1e198b578a7a (diff) |
progs/util: added GetShaderCompile/LinkTime() to get compilation/link times
Diffstat (limited to 'progs/util/shaderutil.h')
-rw-r--r-- | progs/util/shaderutil.h | 6 |
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[]); |