diff options
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); + |