summaryrefslogtreecommitdiff
path: root/progs/perf/drawoverhead.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-09-21 16:55:12 +0100
committerKeith Whitwell <keithw@vmware.com>2009-09-22 11:21:09 +0100
commita7b2659f02c503bd2110b9fd9799efc113807ad9 (patch)
tree89a8997e2737df8739a258d4ef70f2438939524b /progs/perf/drawoverhead.c
parent94a020cfe6cb1da04695897eed38b530af31f524 (diff)
progs/perf: add first attempt at a swapbuffers rate test
This is pretty ugly as the original framework assumed you'd set a single window size at startup and keep it throughout, but for swapbuffers you want to test the rate at various window sizes. With luck a nicer solution can be found, but this at least lays out a marker.
Diffstat (limited to 'progs/perf/drawoverhead.c')
-rw-r--r--progs/perf/drawoverhead.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/perf/drawoverhead.c b/progs/perf/drawoverhead.c
index d581f4b187..0de549b0dc 100644
--- a/progs/perf/drawoverhead.c
+++ b/progs/perf/drawoverhead.c
@@ -108,6 +108,10 @@ DrawStateChange(unsigned count)
glFinish();
}
+void
+PerfNextRound(void)
+{
+}
/** Called from test harness/main */
void