summaryrefslogtreecommitdiff
path: root/prologue.c
diff options
context:
space:
mode:
authorStephane Marchesin <stephane.marchesin@gmail.com>2010-12-29 02:01:33 -0800
committerStephane Marchesin <stephane.marchesin@gmail.com>2010-12-29 02:01:33 -0800
commit351262962f17a662bd41f3a873028f72ded85a31 (patch)
tree936a7628a3ad768213884b340acf3698daec1eca /prologue.c
parent0b54940b7334ee1c25fcecab0c00f0bf5c23c0a0 (diff)
Add preliminary array format support.
Diffstat (limited to 'prologue.c')
-rw-r--r--prologue.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/prologue.c b/prologue.c
index 513ef80..8863af0 100644
--- a/prologue.c
+++ b/prologue.c
@@ -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);
+