summaryrefslogtreecommitdiff
path: root/progs
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: updated commentsBrian Paul
2009-09-22progs/perf: make teximage results easier to read, more reproducibleKeith Whitwell
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.
2009-09-22progs/perf: reset row_length after subimage testKeith Whitwell
Also test fewer sizes in teximage generally.
2009-09-22progs/perf: clean up swapbuffers test a bitKeith Whitwell
2009-09-22progs/perf: break up long runs of fullscreen quadsKeith Whitwell
Not all drivers cope gracefully with command-buffers with zillions of fullscreen quads.
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: added fill-rate testBrian Paul
Many more fill modes could be tested, but this hits the basics including blending, texturing and shaders.
2009-09-21progs/perf: added helpers for creating simple textures and shader programsBrian Paul
2009-09-21progs/perf: offsetof() should be defined in stddef.h, include itBrian Paul
If this breaks mingw, feel free to revert this.
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-21progs/perf: human-readable drawoverhead outputKeith Whitwell
2009-09-21progs/perf: human-format vertexrate outputKeith Whitwell
2009-09-21progs/perf: add human-readable float formatterKeith Whitwell
2009-09-21progs/glsl: Include local headers before installed headers during compilation.Vinson Lee
Fixes compilation errors on platforms with insufficient older installed GL headers.
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.
2009-09-16progs/glsl: minor Makefile clean-upsBrian Paul
2009-09-15progs/demos: use non-default texobj in cubemap.cBrian Paul
2009-09-15progs/demos: create a texture object in lodbias.cBrian Paul
Before, we were using the default texture object (name=0). This caused the intel_generate_mipmap() path to fail since passing texture=0 to glFramebufferTexture2DEXT() causes us to _unbind_ the texture if present.
2009-09-15Merge branch 'mesa_7_6_branch'Brian Paul
2009-09-15Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
2009-09-14progs/vp: print program and error info when program does not compileBrian Paul
2009-09-14progs/tests: exercise display lists and pixelstoreBrian Paul
2009-09-13tgsi: handle some src/dst aliasing in tgsi_sse2.cKeith Whitwell
Src/Dst aliasing (aka SOA dependencies) requires some care to ensure intermediate results do not overwrite yet-to-be read source registers. This change ensures that MOV/SWZ handle this correctly, which is poor but no worse than the current tgsi_exec.c path. Remove the fallback as there is nothing to be gained correctness-wise between the two implementations now. Fixing this properly looks like a bit of work in this code, but might be easily achieved by sending destination writes to temporary storage.
2009-09-12tgsi: implement saturationKeith Whitwell
Fix recent performance regression.
2009-09-08progs/tests: added Z invert optionBrian Paul
2009-09-08progs/demos: added RGB invert optionBrian Paul
2009-09-07prog/glsl: fix Makefile for samplers_array.Peter Hutterer
The rule added in 488b3c4d1bc3d830477180759a42dbaf8f5801b0 does not use the right INCDIR, breaking the build when GL isn't installed in the default include paths. 7.5 branch only fix, already fixed in master by rewriting the Makefile (ceb9459ed5e63207defa5d715958c2757933272f) Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-03progs/tests: re-enable exit() callBrian Paul
See bug 21267.
2009-09-03tests/texcmp: glewInit in wrong placeDave Airlie
2009-09-01progs/tests: re-enable exit() callBrian Paul
See bug 21267.
2009-08-31progs/samples: added test/debug code for cullingBrian Paul
2009-08-31progs/tests: disable depth test for second glDrawPixelsBrian Paul
We don't want to z-test that glDrawPixels. Also, set the raster color to red when drawing GL_DEPTH_COMPONENT image to aid in debugging.
2009-08-30progs/util: minor updates to glutskel.cBrian Paul
2009-08-27progs: EGL/X progs should link to libX11.Chia-I Wu
Since 5a459d58fca2b71cb77c39f98df8a81ce6298421, libEGL no longer links to libX11. Add the dependency to affected progs and cleanup prog/egl/Makefile. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-26mesa: gitignoreYounes Manton
2009-08-26progs/glsl: asst. changes in shtest.cBrian Paul
2009-08-26Merge branch 'mesa_7_5_branch'Brian Paul
2009-08-26progs/glsl: handle window resizes in texaaline.cBrian Paul
2009-08-26progs/glsl: add special Makefile rule for samplers_arrayBrian Paul
2009-08-26progs/glsl: change samplers.c to better test sampler/texture indexingBrian Paul
Now the left half is yellow and the right half is red, with the gradients going in opposite directions.
2009-08-25progs/glsl: call ValidateShaderProgram()Brian Paul
2009-08-25progs/util: added ValidateShaderProgram() to shaderutil.cBrian Paul
2009-08-20progs/glsl: report compile/link times in shtest.cBrian Paul
2009-08-20progs/util: added GetShaderCompile/LinkTime() to get compilation/link timesBrian Paul
2009-08-20progs/glsl: update multitex.shtest for new texture syntaxBrian Paul