summaryrefslogtreecommitdiffstats
path: root/progs/perf/teximage.c
Commit message (Collapse)AuthorAgeFilesLines
* progs/perf: set TexSubImage4=FALSEBrian Paul2009-09-231-2/+2
|
* progs/perf: test glGetTexImage() alsoBrian Paul2009-09-221-12/+36
|
* teximage: add more tests, image formatsKeith Whitwell2009-09-221-18/+99
| | | | | | Add a test which creates a new texture from scratch before uploading. Add more image formats. Don't run all tests on all image formats.
* progs/perf: make teximage results easier to read, more reproducibleKeith Whitwell2009-09-221-17/+27
| | | | | | | Always run the same tests on different drivers, give zero results where test image is too big for driver. Add a newline between groups of tests.
* progs/perf: reset row_length after subimage testKeith Whitwell2009-09-221-1/+3
| | | | Also test fewer sizes in teximage generally.
* 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: offsetof() should be defined in stddef.h, include itBrian Paul2009-09-211-4/+1
| | | | If this breaks mingw, feel free to revert this.
* progs/perf: convert some DOS line-endingsKeith Whitwell2009-09-171-213/+213
| | | | It seems like some of these files were committed with CRLF initially.
* progs/perf: add scons support, get working under mingwKeith Whitwell2009-09-171-5/+8
|
* progs/perf: initial set of simple performance test programsBrian Paul2009-09-161-0/+210
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.