summaryrefslogtreecommitdiff
path: root/progs/perf/vbo.c
AgeCommit message (Collapse)Author
2009-09-22progs/perf: add another VBO test for Create/Draw/Destroy patternBrian Paul
Report both MB/sec and draw/sec.
2009-09-22progs/perf: simplify the codeBrian Paul
2009-09-22progs/perf: fix commentBrian Paul
2009-09-22progs/perf: add first attempt at a swapbuffers rate testKeith Whitwell
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.
2009-09-21progs/perf: a few more vbo upload modesKeith Whitwell
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.
2009-09-17progs/perf: convert some DOS line-endingsKeith Whitwell
It seems like some of these files were committed with CRLF initially.
2009-09-17progs/perf: add scons support, get working under mingwKeith Whitwell
2009-09-16progs/perf: initial set of simple performance test programsBrian Paul
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.