aboutsummaryrefslogtreecommitdiffstats
path: root/progs
Commit message (Collapse)AuthorAgeFilesLines
...
* | progs/perf: Actually bind the newly created vbo.Michal Krol2009-09-231-0/+1
| |
* | Merge branch 'softpipe-opt'Keith Whitwell2009-09-231-0/+16
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: progs/demos/cubemap.c src/gallium/drivers/softpipe/sp_tex_sample.c src/gallium/drivers/softpipe/sp_texture.c
| * | progs/demos: add fps output to cubemapKeith Whitwell2009-08-231-0/+16
| | |
* | | progs/perf: set TexSubImage4=FALSEBrian Paul2009-09-231-2/+2
| | |
* | | progs/perf: added glCopyTex[Sub]Image2D testBrian Paul2009-09-223-0/+216
| | |
* | | progs/perf: test glGetTexImage() alsoBrian Paul2009-09-221-12/+36
| | |
* | | progs/perf: add missing texture enable in fbobind.cBrian Paul2009-09-221-0/+2
| | |
* | | progs/perf: added fbobind.c test to test FBO binding speedBrian Paul2009-09-223-0/+153
| | |
* | | progs/perf: added PerfExtensionSupported() helperBrian Paul2009-09-222-0/+10
| | |
* | | 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: add another VBO test for Create/Draw/Destroy patternBrian Paul2009-09-221-2/+37
| | | | | | | | | | | | Report both MB/sec and draw/sec.
* | | progs/perf: simplify the codeBrian Paul2009-09-221-44/+39
| | |
* | | progs/perf: fix commentBrian Paul2009-09-221-1/+1
| | |
* | | progs/perf: updated commentsBrian Paul2009-09-222-11/+3
| | |
* | | 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: clean up swapbuffers test a bitKeith Whitwell2009-09-221-5/+6
| | |
* | | progs/perf: break up long runs of fullscreen quadsKeith Whitwell2009-09-221-1/+18
| | | | | | | | | | | | | | | Not all drivers cope gracefully with command-buffers with zillions of fullscreen quads.
* | | progs/perf: add first attempt at a swapbuffers rate testKeith Whitwell2009-09-229-14/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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: added fill-rate testBrian Paul2009-09-213-0/+233
| | | | | | | | | | | | | | | Many more fill modes could be tested, but this hits the basics including blending, texturing and shaders.
* | | 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
| | |