summaryrefslogtreecommitdiffstats
path: root/progs/perf/vbo.c
Commit message (Collapse)AuthorAgeFilesLines
* progs/perf: Actually bind the newly created vbo.Michal Krol2009-09-231-0/+1
|
* progs/perf: add another VBO test for Create/Draw/Destroy patternBrian Paul2009-09-221-2/+37
| | | | Report both MB/sec and draw/sec.
* progs/perf: simplify the codeBrian Paul2009-09-221-44/+39
|
* progs/perf: fix commentBrian Paul2009-09-221-1/+1
|
* progs/perf: add first attempt at a swapbuffers rate testKeith Whitwell2009-09-221-0/+4
| | | | | | | | | 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.
* progs/perf: a few more vbo upload modesKeith Whitwell2009-09-211-24/+97
| | | | | | | | 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: convert some DOS line-endingsKeith Whitwell2009-09-171-138/+138
| | | | It seems like some of these files were committed with CRLF initially.
* progs/perf: add scons support, get working under mingwKeith Whitwell2009-09-171-2/+2
|
* progs/perf: initial set of simple performance test programsBrian Paul2009-09-161-0/+138
Initial tests include: drawoverhead - measure overhead of state changes w.r.t drawing commands teximage - measure glTexImage2D() and glTexSubImage2D() speed vbo - measure glBufferData() and glBufferSubData() speed vertexrate - measure vertex rate for immediate mode, glDrawArrays, VBOs, etc.