summaryrefslogtreecommitdiffstats
path: root/progs/perf/vertexrate.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-09-21 16:55:12 +0100
committerKeith Whitwell <[email protected]>2009-09-22 11:21:09 +0100
commita7b2659f02c503bd2110b9fd9799efc113807ad9 (patch)
tree89a8997e2737df8739a258d4ef70f2438939524b /progs/perf/vertexrate.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/vertexrate.c')
-rw-r--r--progs/perf/vertexrate.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/perf/vertexrate.c b/progs/perf/vertexrate.c
index 21231d82082..b5355525d06 100644
--- a/progs/perf/vertexrate.c
+++ b/progs/perf/vertexrate.c
@@ -228,6 +228,11 @@ DrawRangeElementsBO(unsigned count)
PerfSwapBuffers();
}
+void
+PerfNextRound(void)
+{
+}
+
/** Called from test harness/main */
void