summaryrefslogtreecommitdiff
path: root/prologue.c
diff options
context:
space:
mode:
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);
+