progs/perf: a few more vbo upload modes
authorKeith Whitwell <keithw@vmware.com>
Mon, 21 Sep 2009 14:56:17 +0000 (15:56 +0100)
committerKeith Whitwell <keithw@vmware.com>
Mon, 21 Sep 2009 14:57:14 +0000 (15:57 +0100)
commit7ce0421fb712fd4e595f6c2ecede91c16fb3e133
tree04b6c83f61f59f7dd680a671f3ebd6f2e00bcc0b
parent25a580c8416c7fdf6ddbf25b8121ee8774a2acd8
progs/perf: a few more vbo upload modes

Some tests, eg small SubData are probably overwhelmed by the cost of
performing the draw after each upload.  Add a varient which does a lot
of subdata uploads and then a single draw.

Also try to avoid cache-artifacts in the upload timings.
progs/perf/vbo.c