summaryrefslogtreecommitdiffstats
path: root/progs
Commit message (Collapse)AuthorAgeFilesLines
* progs/perf: added helpers for creating simple textures and shader programsBrian Paul2009-09-212-0/+109
|
* progs/perf: offsetof() should be defined in stddef.h, include itBrian Paul2009-09-212-4/+4
| | | | If this breaks mingw, feel free to revert this.
* progs/perf: a few more vbo upload modesKeith Whitwell2009-09-211-24/+97
| | | | | | | | 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.
* progs/perf: human-readable drawoverhead outputKeith Whitwell2009-09-211-6/+6
|
* progs/perf: human-format vertexrate outputKeith Whitwell2009-09-211-7/+7
|
* progs/perf: add human-readable float formatterKeith Whitwell2009-09-212-0/+20
|
* progs/glsl: Include local headers before installed headers during compilation.Vinson Lee2009-09-211-1/+1
| | | | | Fixes compilation errors on platforms with insufficient older installed GL headers.
* progs/perf: convert some DOS line-endingsKeith Whitwell2009-09-174-756/+756
| | | | It seems like some of these files were committed with CRLF initially.
* progs/perf: add scons support, get working under mingwKeith Whitwell2009-09-179-24/+80
|
* progs/perf: initial set of simple performance test programsBrian Paul2009-09-169-0/+1139
| | | | | | | | 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.
* progs/glsl: minor Makefile clean-upsBrian Paul2009-09-161-8/+7
|
* progs/demos: use non-default texobj in cubemap.cBrian Paul2009-09-151-0/+5
|
* progs/demos: create a texture object in lodbias.cBrian Paul2009-09-151-0/+4
| | | | | | 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.
* Merge branch 'mesa_7_6_branch'Brian Paul2009-09-151-0/+6
|\
| * Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-151-0/+6
| |\
| | * progs/vp: print program and error info when program does not compileBrian Paul2009-09-141-0/+6
| | |
| | * prog/glsl: fix Makefile for samplers_array.Peter Hutterer2009-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
| | * progs/tests: re-enable exit() callBrian Paul2009-09-011-1/+1
| | | | | | | | | | | | See bug 21267.
* | | progs/tests: exercise display lists and pixelstoreBrian Paul2009-09-141-13/+54
| | |
* | | tgsi: handle some src/dst aliasing in tgsi_sse2.cKeith Whitwell2009-09-132-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | tgsi: implement saturationKeith Whitwell2009-09-121-0/+6
| | | | | | | | | | | | Fix recent performance regression.
* | | progs/tests: added Z invert optionBrian Paul2009-09-081-0/+12
| | |
* | | progs/demos: added RGB invert optionBrian Paul2009-09-081-0/+22
|/ /
* | progs/tests: re-enable exit() callBrian Paul2009-09-031-1/+1
| | | | | | | | See bug 21267.
* | tests/texcmp: glewInit in wrong placeDave Airlie2009-09-031-1/+1
| |
* | progs/samples: added test/debug code for cullingBrian Paul2009-08-311-0/+6
| |
* | progs/tests: disable depth test for second glDrawPixelsBrian Paul2009-08-311-1/+5
| | | | | | | | | | 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.
* | progs/util: minor updates to glutskel.cBrian Paul2009-08-301-31/+33
| |
* | progs: EGL/X progs should link to libX11.Chia-I Wu2009-08-273-74/+29
| | | | | | | | | | | | | | | | 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 <[email protected]>
* | mesa: gitignoreYounes Manton2009-08-262-0/+2
| |
* | progs/glsl: asst. changes in shtest.cBrian Paul2009-08-261-3/+16
| |
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-08-262-4/+16
|\|
| * progs/glsl: add special Makefile rule for samplers_arrayBrian Paul2009-08-261-1/+3
| |
| * progs/glsl: change samplers.c to better test sampler/texture indexingBrian Paul2009-08-261-4/+12
| | | | | | | | | | Now the left half is yellow and the right half is red, with the gradients going in opposite directions.
* | progs/glsl: handle window resizes in texaaline.cBrian Paul2009-08-261-8/+12
| |
* | progs/glsl: call ValidateShaderProgram()Brian Paul2009-08-251-0/+2
| |
* | progs/util: added ValidateShaderProgram() to shaderutil.cBrian Paul2009-08-252-0/+23
| |
* | progs/glsl: report compile/link times in shtest.cBrian Paul2009-08-201-0/+10
| |
* | progs/util: added GetShaderCompile/LinkTime() to get compilation/link timesBrian Paul2009-08-202-0/+39
| |
* | progs/glsl: update multitex.shtest for new texture syntaxBrian Paul2009-08-201-2/+2
| |
* | progs/glsl: update shtest.c to handle 1D/3D/CUBE/RECT texturesBrian Paul2009-08-201-16/+70
| |
* | progs/glsl: tweaks to shtest.cBrian Paul2009-08-201-2/+3
| | | | | | | | | | | | 1. Larger sphere to match cube size 2. Allow -geometry option to override window size 3. Cube samplers
* | progs/glsl: more comments in shtest.cBrian Paul2009-08-201-0/+2
| |
* | progs/xdemos: add multictx to .gitignoreBrian Paul2009-08-191-0/+1
| |
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-08-181-4/+24
|\|
| * progs/demos: print more info in fbotexture.cBrian Paul2009-08-141-4/+24
| |
* | egl: Make lookup functions static inline.Chia-I Wu2009-08-181-1/+1
| | | | | | | | | | | | progs/egl/demo3.c is also changed since it uses an internal function. Signed-off-by: Chia-I Wu <[email protected]>
* | demos/glsl: remove glutInitWindowPosition() callsBrian Paul2009-08-1718-18/+0
| |
* | mesa: Add 2 new demos to .gitignore.Pauli Nieminen2009-08-151-0/+1
| |
* | demos/cubemap: Add support for GL_ARB_seamless_cube_mapIan Romanick2009-08-141-16/+38
| |