summaryrefslogtreecommitdiffstats
path: root/progs/trivial/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* progs/trivial: test glPolygonMode(POINT/LINE) with frustum clippingBrian Paul2010-01-141-0/+1
| | | | | Note whether the new verts introduced by clipping show up as points and lines along the edge of the window...
* trivial: add vbo-tri, an even simpler version of tri.cKeith Whitwell2009-11-061-0/+1
|
* progs/trivial: add missing files to Makefile, .gitignoreVinson Lee2009-07-281-0/+8
|
* mesa/vbo: fix compile and replay of nodes ending in a FALLBACKKeith Whitwell2009-06-301-0/+1
| | | | | | | | | | | | | | | | | Where vbo save nodes are terminated with a call to DO_FALLBACK(), as in the case of a recursive CallList which is itself within a Begin/End pair, there two problems: 1) The display list node's primitive information was incorrect, stating the cut-off prim had zero vertices 2) On replay, we would get confused by a primitive that started in a node, but was terminated by individual opcodes. This change fixes the first problem by correctly terminating the last primitive on fallback, and the second by forcing the display list to use the Loopback path, converting all nodes into immediate-mode rendering. The loopback fix is a performance hit, but avoiding this would require a fairly large rework of this code.
* progs/trivial: add dlist-mat-tri.cKeith Whitwell2009-06-301-0/+1
|
* progs/trivial: add test case for short-circuiting material changesKeith Whitwell2009-06-301-0/+1
| | | | | Similar to dlist-tri-flat-tri, but using glMaterial calls, which have the extra property of being legal within Begin/End calls.
* progs/trivial: add dlist-flat-tri.cKeith Whitwell2009-06-301-0/+1
| | | | | | | | | State-change functions which precede the first call to glEnd() in a compiled list are vulnerable to not being executed when that list is called. In particular this can happen if a list is invoked from within a begin/end pair, as in this example.
* progs/trivial: add dlist-recursive-callKeith Whitwell2009-06-301-0/+1
| | | | | | | | | | When one display list calls another display list, it is possible that the calling display list makes state-changes or other actions which invalidate any attempt at caching or state-change elimination in the calling list. This test exercises one such case, where the called list consists of just a single glShadeModel() call.
* Merge branch 'mesa_7_5_branch' into dlist-statechange-shortcircuitKeith Whitwell2009-06-301-0/+1
|\ | | | | | | Need this to pick up fixes for per-vertex materials.
| * progs/trivial: add test case for lighting plus per-vertex materialsKeith Whitwell2009-06-301-0/+1
| | | | | | | | Exercise material-within-begin/end case.
* | progs/trivial: test case for dlist statechange eliminationKeith Whitwell2009-06-301-0/+1
|/ | | | | | Creates a display list with redundant call to glShadeModel. View dlist contents with MESA_VERBOSE=list
* progs/trivial: add test for vertex program invarient transformKeith Whitwell2009-05-081-0/+1
|
* progs/trivial: add vbo-noninterleaved testKeith Whitwell2009-05-081-0/+1
|
* trivial: add line-flat.cKeith Whitwell2009-05-081-0/+1
|
* progs/trivial: draw non-interleaved arrays out of one vboKeith Whitwell2009-03-241-0/+1
|
* progs/trivial: Add quad-tex-subJakob Bornecrantz2009-03-181-0/+1
| | | | Tests glTexSubImage
* progs/trivial: Add tri-fbo-tex-mipJakob Bornecrantz2009-03-181-0/+1
| | | | Tests rendering to mip levels other then first
* trivial: draw non-interleaved arraysKeith Whitwell2009-03-121-0/+1
|
* trivial: add a logic op testKeith Whitwell2009-03-101-0/+2
|
* trivial: Add tri-viewportJakob Bornecrantz2009-02-211-0/+1
|
* trivial: Add quadstrip-clipJakob Bornecrantz2009-02-141-0/+1
|
* trivial: Add a tri-unfilled-fog testJakob Bornecrantz2009-02-131-0/+1
|
* progs/trivial: Use glew where needed.José Fonseca2009-01-231-1/+1
| | | | Builds on windows now.
* trivial: clear with random colorKeith Whitwell2009-01-141-0/+1
|
* Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-12-101-0/+2
|\
| * mesa: more trivial testsKeith Whitwell2008-12-101-0/+2
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-11-151-0/+7
|\ \ | |/ | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.c
| * trivial: more testsKeith Whitwell2008-11-141-0/+7
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-10-151-0/+4
|\ \ | |/ | | | | | | | | Conflicts: src/mesa/main/context.c
| * trivial: more vp testsKeith Whitwell2008-10-141-0/+4
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-10-101-0/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/gallivm/instructionssoa.cpp src/gallium/auxiliary/gallivm/soabuiltins.c src/gallium/auxiliary/rtasm/rtasm_x86sse.c src/gallium/auxiliary/rtasm/rtasm_x86sse.h src/mesa/main/texenvprogram.c src/mesa/shader/arbprogparse.c src/mesa/shader/prog_statevars.c src/mesa/state_tracker/st_draw.c src/mesa/vbo/vbo_exec_draw.c
| * trivial: add more vp testsKeith Whitwell2008-10-071-0/+2
| |
| * trivial: exercise vertprog sligtlyKeith Whitwell2008-10-071-0/+1
| |
* | Merge commit 'origin/master' into gallium-0.2Keith Whitwell2008-09-181-1/+2
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: progs/trivial/Makefile src/mesa/glapi/glthread.c
| * | add dlist-degenerate test caseKeith Whitwell2008-09-151-0/+1
| | |
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-09-111-8/+9
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-8/+8
| | | | | | | | | | | | | | | 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"
| * | mesa: added test for very long fixed-function vertex programsBrian Paul2008-08-281-0/+1
| | |
* | | Merge branch 'gallium-0.1' into gallium-0.2Keith Whitwell2008-09-111-19/+74
|\ \ \ | |/ / | | / | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * trival: Added test for undefined context of bufferJakob Bornecrantz2008-06-131-0/+1
| |
| * trivial: add test for integer vertex arraysKeith Whitwell2008-06-111-0/+1
| |
| * trivial: add trifan testsKeith Whitwell2008-06-101-0/+5
| |
| * trivial: add poly-flat-clip testsKeith Whitwell2008-06-101-0/+2
| |
| * trivial: add tristrip-flat to makefileKeith Whitwell2008-06-101-0/+1
| |
| * trivial: simple edgeflag testKeith Whitwell2008-04-241-0/+1
| |
| * mesa: add dedicated point-wide-smooth test, restore original tri.c as tri-orig.cKeith Whitwell2008-04-231-0/+2
| |
| * Added line smooth testBrian2008-02-251-0/+1
| |
| * gallium: new pgon-mode.c testBrian2008-02-141-0/+1
| | | | | | | | | | A two-triangle strip is drawn such that the first tri is front-facing and the second tri is back-facing. Use different front/back polygon modes.
| * gallium: more trivial testsKeith Whitwell2007-12-091-21/+51
| |
| * test flat shading w/ clippingBrian2007-08-301-0/+1
| |