summaryrefslogtreecommitdiffstats
path: root/progs/tests
Commit message (Collapse)AuthorAgeFilesLines
* demos: minor updates for shader_api.c testBrian Paul2009-02-111-4/+4
| | | | | | | | Mesa's glGetUniformLocation() does support array indexes. Minor code reformatting. It would be great if this program were converted into a glean test...
* mesa: merge gallium-0.2 into gallium-master-mergeBrian Paul2009-02-0914-127/+2039
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'origin/gallium-0.2' into gallium-master-merge Conflicts: Makefile docs/relnotes-7.4.html docs/relnotes.html src/mesa/drivers/dri/i965/brw_wm.h src/mesa/main/imports.c src/mesa/main/mtypes.h src/mesa/main/texcompress.c src/mesa/main/texenvprogram.c src/mesa/main/version.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_draw.c
| * Merge commit 'origin/master' into gallium-0.2Alan Hourihane2009-01-223-0/+443
| |\ | | | | | | | | | | | | | | | | | | Conflicts: windows/VC8/mesa/osmesa/osmesa.vcproj windows/VC8/progs/demos/gears.vcproj windows/VC8/progs/progs.sln
| * \ Merge commit 'origin/master' into gallium-0.2Brian Paul2008-12-162-46/+136
| |\ \
| * \ \ Merge commit 'origin/master' into gallium-0.2Brian Paul2008-11-111-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/shader/prog_execute.c src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
| * | | | CELL: two-sided stencil fixesRobert Ellison2008-11-111-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With these changes, the tests/stencil_twoside test now works. - Eliminate blending from the stencil_twoside test, as it produces an unneeded dependency on having blending working - The spe_splat() function will now work if the register being splatted and the destination register are the same - Separate fragment code generated for front-facing and back-facing fragments. Often these are the same; if two-sided stenciling is on, they can be different. This is easier and faster than generating code that does both tests and merges the results. - Fixed a cut/paste bug where if the back Z-pass stencil operation were different from all the other operations, the back Z-fail results were incorrect.
| * | | | Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-09-211-1/+4
| |\ \ \ \
| | * | | | destroy window on exitBrian Paul2008-09-181-1/+4
| | | | | |
| * | | | | Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-09-112-20/+279
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile progs/demos/Makefile progs/glsl/Makefile progs/redbook/Makefile progs/samples/Makefile progs/tests/Makefile progs/trivial/Makefile progs/xdemos/Makefile src/gallium/Makefile src/mesa/main/attrib.c src/mesa/main/bufferobj.c src/mesa/vbo/vbo_exec_draw.c
| | * | | | define new APP_CC configuration variable for building apps/demos/testsBrian Paul2008-09-111-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For Cell, need to use different compilers for the libraries vs. the demos/tests to avoid strange link error regarding "_Unwind_GetIPInfo@GCC_4.2.0"
| | * | | | simple quad drawing testBrian Paul2008-09-112-0/+259
| | | | | |
| * | | | | Merge branch 'gallium-0.1' into gallium-0.2Keith Whitwell2008-09-1123-122/+1761
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A first attempt at moving gallium onto a branch directly off master... It will be interesting to see how much work this takes to get running. Have resolved the conflicts semi-arbitarily, not compiled or tested. Conflicts: .gitignore Makefile configs/config.mgw configs/darwin configs/darwin-x86ppc configs/default configs/freebsd-dri configs/linux-dri configs/linux-dri-xcb configs/linux-fbdev configs/linux-static configs/linux-x86-64-static configs/linux-x86-static doxygen/Makefile include/GL/gl.h progs/demos/Makefile progs/demos/descrip.mms progs/demos/texenv.c progs/egl/.gitignore progs/egl/Makefile progs/glsl/.gitignore progs/glsl/Makefile progs/glsl/convolutions.c progs/samples/Makefile.mgw progs/tests/.gitignore progs/trivial/.gitignore progs/trivial/point-param.c progs/trivial/tri.c progs/xdemos/.gitignore progs/xdemos/glthreads.c src/egl/drivers/demo/Makefile src/egl/drivers/dri/Makefile src/egl/main/Makefile src/glu/Makefile src/glu/sgi/Makefile src/glu/sgi/Makefile.mgw src/glut/glx/Makefile.mgw src/glut/os2/WarpWin.cpp src/glut/os2/glut_cindex.cpp src/glut/os2/glut_gamemode.cpp src/glut/os2/glut_win.cpp src/glut/os2/glut_winmisc.cpp src/glut/os2/os2_glx.cpp src/glut/os2/os2_menu.cpp src/glut/os2/os2_winproc.cpp src/glw/Makefile src/glx/x11/dri_glx.c src/glx/x11/glxext.c src/mesa/Makefile src/mesa/Makefile.mgw src/mesa/descrip.mms src/mesa/drivers/beos/Makefile src/mesa/drivers/common/descrip.mms src/mesa/drivers/common/driverfuncs.c src/mesa/drivers/directfb/Makefile src/mesa/drivers/dri/Makefile.template src/mesa/drivers/dri/common/dri_bufmgr.c src/mesa/drivers/dri/common/dri_bufmgr.h src/mesa/drivers/dri/common/dri_util.c src/mesa/drivers/dri/common/extension_helper.h src/mesa/drivers/dri/common/mmio.h src/mesa/drivers/dri/common/utils.c src/mesa/drivers/dri/common/utils.h src/mesa/drivers/dri/glcore/Makefile src/mesa/drivers/dri/i810/i810screen.c src/mesa/drivers/dri/i915/intel_ioctl.c src/mesa/drivers/dri/i915/intel_ioctl.h src/mesa/drivers/dri/i915/intel_screen.c src/mesa/drivers/dri/i915/server/i830_common.h src/mesa/drivers/dri/i915/server/i830_dri.h src/mesa/drivers/dri/i965/intel_screen.c src/mesa/drivers/dri/i965/server/i830_common.h src/mesa/drivers/dri/i965/server/i830_dri.h src/mesa/drivers/dri/mach64/mach64_screen.c src/mesa/drivers/dri/nouveau/nouveau_context.h src/mesa/drivers/dri/nouveau/nouveau_fifo.c src/mesa/drivers/dri/nouveau/nouveau_fifo.h src/mesa/drivers/dri/nouveau/nouveau_screen.c src/mesa/drivers/dri/nouveau/nouveau_screen.h src/mesa/drivers/dri/r128/r128_tex.h src/mesa/drivers/dri/savage/savageioctl.h src/mesa/drivers/fbdev/Makefile src/mesa/drivers/osmesa/Makefile src/mesa/drivers/osmesa/descrip.mms src/mesa/drivers/x11/Makefile src/mesa/drivers/x11/descrip.mms src/mesa/drivers/x11/xm_dd.c src/mesa/glapi/glapi.c src/mesa/glapi/glthread.c src/mesa/main/api_validate.c src/mesa/main/attrib.c src/mesa/main/bufferobj.c src/mesa/main/bufferobj.h src/mesa/main/buffers.c src/mesa/main/config.h src/mesa/main/context.c src/mesa/main/descrip.mms src/mesa/main/drawpix.c src/mesa/main/enums.c src/mesa/main/fbobject.c src/mesa/main/glheader.h src/mesa/main/imports.c src/mesa/main/mipmap.c src/mesa/main/mm.c src/mesa/main/mm.h src/mesa/main/mtypes.h src/mesa/main/points.c src/mesa/main/sources src/mesa/main/state.c src/mesa/main/texcompress_fxt1.c src/mesa/main/texenvprogram.c src/mesa/main/texobj.c src/mesa/main/texstate.c src/mesa/main/texstore.c src/mesa/math/descrip.mms src/mesa/shader/arbprogram.c src/mesa/shader/descrip.mms src/mesa/shader/prog_execute.c src/mesa/shader/prog_statevars.c src/mesa/shader/prog_statevars.h src/mesa/shader/prog_uniform.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/shader_api.c src/mesa/shader/slang/descrip.mms src/mesa/shader/slang/library/slang_vertex_builtin_gc.h src/mesa/sources src/mesa/swrast/descrip.mms src/mesa/swrast/s_drawpix.c src/mesa/swrast/s_fragprog.c src/mesa/swrast/s_readpix.c src/mesa/swrast/s_span.c src/mesa/swrast_setup/descrip.mms src/mesa/tnl/descrip.mms src/mesa/tnl/t_context.h src/mesa/tnl/t_vp_build.c src/mesa/tnl/tnl.h src/mesa/vbo/descrip.mms src/mesa/vbo/vbo_context.c src/mesa/vbo/vbo_exec_array.c src/mesa/x86-64/xform4.S src/mesa/x86/rtasm/x86sse.c src/mesa/x86/rtasm/x86sse.h windows/VC6/progs/glut/glut.dsp windows/VC7/mesa/gdi/gdi.vcproj windows/VC7/mesa/glu/glu.vcproj windows/VC7/mesa/mesa.sln windows/VC7/mesa/mesa/mesa.vcproj windows/VC7/mesa/osmesa/osmesa.vcproj windows/VC7/progs/glut/glut.vcproj windows/VC8/mesa/gdi/gdi.vcproj windows/VC8/mesa/glu/glu.vcproj windows/VC8/mesa/mesa.sln windows/VC8/mesa/mesa/mesa.vcproj windows/VC8/progs/glut/glut.vcproj
| | * | | | tests: Added a test for a strange bug in texstore_a8Jakob Bornecrantz2008-06-183-0/+196
| | | | | |
| | * | | | Remove CVS keywords.José Fonseca2008-05-2612-13/+0
| | | | | |
| | * | | | Merge branch 'gallium-0.1' into gallium-tex-surfacesMichel Dänzer2008-05-211-2/+31
| | |\ \ \ \
| | | * | | | add new binaries to ignore to make 'git status' cleanerZack Rusin2008-05-201-1/+22
| | | | | | |
| | | * | | | Ignore more generated files in progs/Dan Nicholson2008-05-201-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many of the directories in progs/ were missing .gitignore files or were tracking generated files. This patch is basically the process of running `make' in each directory and then finding the untracked files with `git-ls-files -o --exclude-per-directory=.gitignore'. The existing files were also sorted.
| | * | | | | disable GL_DEPTH_TEST before glDrawPixels in case window has unrequested ↵Brian Paul2008-05-081-0/+1
| | |/ / / / | | | | | | | | | | | | | | | | | | depth buffer
| | * | | | Press <space> to reset limit/bias values, clean-up limit/bias printfBrian Paul2008-05-031-7/+25
| | | | | |
| | * | | | set TextureID = NULL after deleting the arrayBrian Paul2008-05-021-0/+1
| | | | | |
| | * | | | mesa: explicitly delete textures before creating new onesBrian Paul2008-04-281-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | Also, call glutDestroyWindow() upon exit.
| | * | | | mesa: new Z-compositing test (glDrawPixels(GL_DEPTH) + stencil)Brian Paul2008-04-112-0/+224
| | | | | |
| | * | | | mesa: add a new test for glDrawPixels(GL_DEPTH_COMPONENT)Brian Paul2008-04-102-0/+193
| | | | | |
| | * | | | test glStencilFuncSeparateATI()Brian2008-04-041-0/+26
| | | | | |
| | * | | | mesa: added a cast to avoid int overflow, plus rename texels->pixelsBrian2008-04-011-4/+4
| | | | | |
| | * | | | mesa: measure fill rate for drawing a large quad with basic shading/texture ↵Brian2008-04-012-0/+211
| | | | | | | | | | | | | | | | | | | | | | | | modes
| | * | | | mesa: minor code re-orgBrian Paul2008-03-211-24/+39
| | | | | |
| | * | | | better text labelsBrian Paul2008-03-191-9/+16
| | | | | |
| | * | | | mesa: new mipmap generation, lod bias demoBrian Paul2008-03-172-0/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show each of the mipmap levels side-by-side. Press 's' to toggle quad scaling to see mipmap level at actual size.
| | * | | | Added calibrate_rast.c programBrian2008-02-282-0/+396
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Measures rasterization of points/lines/tris and suggests fixes/biases when something doesn't meet spec.
| | * | | | Remove files of unsupported build systems.José Fonseca2008-02-251-84/+0
| | | | | |
| | * | | | Test calling glTexSubImage2D mid-way through a frame.Brian2008-02-202-0/+224
| | | | | |
| | * | | | Added minmag.c testBrian2008-02-162-0/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test that different minification and magnification filters are chosen for the non-mipmapped texture case.
| | * | | | Fix broken test.Brian2008-02-121-17/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As-is, if the texture was too large for the target, an assertion would fail. Now check proxy texture first and if it works, then test non-proxy target.
| | * | | | Set Min/MaxLod with glTexParameterf, not glTexParameteriBrian2008-02-121-2/+2
| | | | | |
| | * | | | tweak incr/decrements amounts for keyboard optionsBrian2008-02-121-6/+6
| | | | | |
| | * | | | Rename 'mms-config.' to 'mms.config'.Michal Krol2007-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'.
* | | | | | demos: modify bufferobj.c to exercise interleaved vertex arraysBrian Paul2009-02-031-13/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, put colors before vertex positions, and place the data at a 40-byte offset from the start of the buffer.
* | | | | | demos: revamp the fbotexture.c demoBrian Paul2009-01-221-113/+268
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Try making depth/stencil attachments in two different ways. Check for GL errors and GL_FRAMEBUFFER_UNSUPPORTED status to be more robust. Reorganize the code a bit to make it clearer. Added -arb option to test GL_ARB_fbo's mixed renderbuffer sizes Added -ds2 option to test GL_DEPTH_STENCIL_ATTACHMENT
* | | | | | demos: updated FBO tests to for ARB_fboBrian Paul2009-01-222-7/+15
| |_|_|_|/ |/| | | | | | | | | | | | | | Some things that were not errors in EXT_fbo are errors in ARB_fbo.
* | | | | tests: test pseudo-XOR blend mode.Brian Paul2009-01-193-0/+443
| |_|_|/ |/| | | | | | | | | | | | | | | GL_XOR logicop mode can be approximated with blending by computing 1 - dst. Here's a couple test programs for that.
* | | | demos: updated tests/floattex.c (doesn't work just yet).Brian Paul2008-12-152-46/+136
| |_|/ |/| |
* | | mesa: fix version check in dinoshade.cBrian Paul2008-11-111-1/+1
| | |
* | | Remove CVS keywords.Keith Whitwell2008-09-2112-13/+0
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-picked from gallium-0.1 Conflicts: src/glu/sgi/libnurbs/interface/bezierEval.h src/glu/sgi/libnurbs/interface/bezierPatch.h src/glu/sgi/libnurbs/interface/bezierPatchMesh.h src/glu/sgi/libnurbs/internals/dataTransform.h src/glu/sgi/libnurbs/internals/displaymode.h src/glu/sgi/libnurbs/internals/sorter.h src/glu/sgi/libnurbs/nurbtess/definitions.h src/glu/sgi/libnurbs/nurbtess/directedLine.h src/glu/sgi/libnurbs/nurbtess/gridWrap.h src/glu/sgi/libnurbs/nurbtess/monoChain.h src/glu/sgi/libnurbs/nurbtess/monoPolyPart.h src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h src/glu/sgi/libnurbs/nurbtess/partitionX.h src/glu/sgi/libnurbs/nurbtess/partitionY.h src/glu/sgi/libnurbs/nurbtess/polyDBG.h src/glu/sgi/libnurbs/nurbtess/polyUtil.h src/glu/sgi/libnurbs/nurbtess/primitiveStream.h src/glu/sgi/libnurbs/nurbtess/quicksort.h src/glu/sgi/libnurbs/nurbtess/rectBlock.h src/glu/sgi/libnurbs/nurbtess/sampleComp.h src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h src/glu/sgi/libnurbs/nurbtess/sampledLine.h src/glu/sgi/libnurbs/nurbtess/searchTree.h src/glu/sgi/libnurbs/nurbtess/zlassert.h src/glu/sgi/libutil/error.c src/glu/sgi/libutil/glue.c src/glu/sgi/libutil/gluint.h src/glu/sgi/libutil/project.c src/glu/sgi/libutil/registry.c src/glx/x11/glxclient.h src/glx/x11/glxext.c src/mesa/drivers/dri/ffb/ffb_dd.h src/mesa/drivers/dri/ffb/ffb_points.h src/mesa/drivers/dri/gamma/gamma_context.h src/mesa/drivers/dri/gamma/gamma_macros.h src/mesa/drivers/dri/i810/i810context.h src/mesa/drivers/dri/r128/r128_dd.h src/mesa/drivers/dri/tdfx/tdfx_dd.h
* | press 'm' to toggle multisample enable/disableBrian Paul2008-07-011-2/+10
| |
* | disable GL_DEPTH_TEST before glDrawPixels in case window has unrequested ↵Brian Paul2008-05-081-0/+1
| | | | | | | | depth buffer
* | Never fail `make clean'Dan Nicholson2008-05-071-3/+3
| | | | | | | | | | | | Mostly some pedantic changes such that `make clean' always ignores errors. Also changed the top clean target to do the `touch configs/current' dance instead of realclean.
* | Press <space> to reset limit/bias values, clean-up limit/bias printfBrian Paul2008-05-031-7/+25
| |
* | Add a couple of test apps for line/unfilled polygon clipping.Eric Anholt2008-03-274-0/+384
| |
* | Added minmag.c testBrian2008-02-162-0/+199
| | | | | | | | | | Test that different minification and magnification filters are chosen for the non-mipmapped texture case.