diff options
author | Stephane Marchesin <stephane.marchesin@gmail.com> | 2010-12-29 02:01:33 -0800 |
---|---|---|
committer | Stephane Marchesin <stephane.marchesin@gmail.com> | 2010-12-29 02:01:33 -0800 |
commit | 351262962f17a662bd41f3a873028f72ded85a31 (patch) | |
tree | 936a7628a3ad768213884b340acf3698daec1eca /prologue.c | |
parent | 0b54940b7334ee1c25fcecab0c00f0bf5c23c0a0 (diff) |
Add preliminary array format support.
Diffstat (limited to 'prologue.c')
-rw-r--r-- | prologue.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -20,8 +20,10 @@ static PFNGLXGETPROCADDRESSPROC lib_glXGetProcAddressARB; static const int trace_perfunc = 0; // dump the total time per function static const int trace_summary = 1; -// dump the shader programs² +// dump the shader programs static const int trace_shaders = 0; +// trace vertex array performance +static const int trace_arrays = 0; static uint64_t gettime64() { @@ -30,4 +32,6 @@ static uint64_t gettime64() return ((uint64_t)tv.tv_sec * 1000000ULL + (uint64_t)tv.tv_usec); } +static void add_array(int num_elements); + |