summaryrefslogtreecommitdiff
path: root/progs
AgeCommit message (Collapse)Author
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
2009-08-20progs/glsl: update shtest.c to handle 1D/3D/CUBE/RECT texturesBrian Paul
2009-08-20progs/glsl: tweaks to shtest.cBrian Paul
1. Larger sphere to match cube size 2. Allow -geometry option to override window size 3. Cube samplers
2009-08-20progs/glsl: more comments in shtest.cBrian Paul
2009-08-19progs/xdemos: add multictx to .gitignoreBrian Paul
2009-08-18Merge branch 'mesa_7_5_branch'Brian Paul
2009-08-18egl: Make lookup functions static inline.Chia-I Wu
progs/egl/demo3.c is also changed since it uses an internal function. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-17demos/glsl: remove glutInitWindowPosition() callsBrian Paul
2009-08-15mesa: Add 2 new demos to .gitignore.Pauli Nieminen
2009-08-14progs/demos: print more info in fbotexture.cBrian Paul