Brian Paul
aae77319c0
progs/perf: set TexSubImage4=FALSE
преди 16 години
Brian Paul
da0e4e557b
progs/perf: test glGetTexImage() also
преди 16 години
Keith Whitwell
0ec26cce36
teximage: add more tests, image formats
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.
преди 16 години
Keith Whitwell
6a09c9d2d8
progs/perf: make teximage results easier to read, more reproducible
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.
преди 16 години
Keith Whitwell
89f2799dac
progs/perf: reset row_length after subimage test
Also test fewer sizes in teximage generally.
преди 16 години
Keith Whitwell
a7b2659f02
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.
преди 16 години
Brian Paul
83fbee6e0b
progs/perf: offsetof() should be defined in stddef.h, include it
If this breaks mingw, feel free to revert this.
преди 16 години
Michal Krol
bb32b0908f
progs/perf: Fix newlines.
преди 16 години
Keith Whitwell
2884c31d94
progs/perf: convert some DOS line-endings
It seems like some of these files were committed with CRLF initially.
преди 16 години
Keith Whitwell
e95a3a23dc
progs/perf: add scons support, get working under mingw
преди 16 години
Brian Paul
9abbedad09
progs/perf: initial set of simple performance test programs
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.
преди 16 години