summaryrefslogtreecommitdiffstats
path: root/progs/trivial
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'mesa_7_5_branch'Brian Paul2009-07-282-0/+23
|\ | | | | | | | | | | | | | | | | Conflicts: Makefile configs/default docs/relnotes.html src/mesa/main/version.h
| * progs/trivial: add missing files to Makefile, .gitignoreVinson Lee2009-07-282-0/+23
| |
* | Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-07-038-0/+1203
|\ \ | |/ | | | | | | | | Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
| * mesa/vbo: fix compile and replay of nodes ending in a FALLBACKKeith Whitwell2009-06-302-0/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-302-0/+183
| |
| * progs/trivial: add test case for short-circuiting material changesKeith Whitwell2009-06-302-0/+175
| | | | | | | | | | 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-302-0/+172
| | | | | | | | | | | | | | | | | | 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-302-0/+191
| | | | | | | | | | | | | | | | | | | | 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.
| * dlist-tri-flat-tri: make tri render differently if flatshade not enabledKeith Whitwell2009-06-301-1/+3
| | | | | | | | | | When testing flat-shading, it helps to specify per-vertex colors so that you can distinguish between flat & smooth shading.
| * Merge branch 'mesa_7_5_branch' into dlist-statechange-shortcircuitKeith Whitwell2009-06-302-0/+150
| |\ | | | | | | | | | Need this to pick up fixes for per-vertex materials.
| | * progs/trivial: add test case for lighting plus per-vertex materialsKeith Whitwell2009-06-302-0/+150
| | | | | | | | | | | | Exercise material-within-begin/end case.
| * | progs/trivial: test case for dlist statechange eliminationKeith Whitwell2009-06-302-0/+170
| |/ | | | | | | | | | | Creates a display list with redundant call to glShadeModel. View dlist contents with MESA_VERBOSE=list
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-041-10/+40
|\ \ | |/ | | | | | | | | Conflicts: src/mesa/main/context.c
| * trivial/tri-z: add controls for depthrange min/maxKeith Whitwell2009-06-011-10/+40
| | | | | | | | | | Also add key to set up quake-1 style ztrick rendering with clear depth 1.0, deptrange(1.0, 0.0) and depthfunc GL_GREATER.
* | progs/trivial: update .gitignore with new binariesJoakim Sindholt2009-05-121-0/+3
|/
* trivial: destroy window upon exitBrian Paul2009-05-111-0/+1
|
* progs/trivial: add test for vertex program invarient transformKeith Whitwell2009-05-083-0/+149
|
* progs/trivial: add vbo-noninterleaved testKeith Whitwell2009-05-083-0/+141
|
* trivial: add line-flat.cKeith Whitwell2009-05-083-0/+149
|
* trivial/tri-viewport: add keys for frustrum/ortho and z coordinateKeith Whitwell2009-04-211-43/+77
|
* trivial/tri-viewport: add more out-of-bounds background quadsKeith Whitwell2009-04-211-1/+27
|
* trivial/tri_viewport: add space==reset keyKeith Whitwell2009-04-211-1/+3
|
* trivial/tri_viewport: add width/height keysKeith Whitwell2009-04-211-18/+49
|
* trivial/tri-viewport.c - add guide lines, more triangles, make interactiveKeith Whitwell2009-04-201-14/+118
| | | | This is becoming more like a test than a trivial/ example.
* progs: IgnoresJakob Bornecrantz2009-04-021-0/+1
|
* progs/trivial: add fflushes for cygwinKeith Whitwell2009-03-24115-0/+116
|
* progs/trivial: draw non-interleaved arrays out of one vboKeith Whitwell2009-03-243-0/+262
|
* progs/trivial: Make quad-tex-sub repeat patternsJakob Bornecrantz2009-03-181-7/+12
|
* tests: remove/update old commentsBrian Paul2009-03-182-18/+2
|
* progs/trivial: Add quad-tex-subJakob Bornecrantz2009-03-184-0/+201
| | | | Tests glTexSubImage
* progs/trivial: Add tri-fbo-tex-mipJakob Bornecrantz2009-03-184-0/+272
| | | | Tests rendering to mip levels other then first
* progs/trivial: IgnoresJakob Bornecrantz2009-03-161-0/+3
|
* trivial: draw non-interleaved arraysKeith Whitwell2009-03-123-0/+119
|
* trivial: add a logic op testKeith Whitwell2009-03-104-0/+368
|
* trivial: add tri-stipple to SConscriptKeith Whitwell2009-03-091-0/+1
|
* clear-repeat: print fps, use 300x300 window sizeKeith Whitwell2009-03-041-1/+19
|
* trivial: Add tri-viewportJakob Bornecrantz2009-02-214-0/+132
|
* trivial: Fix indentation in triJakob Bornecrantz2009-02-211-43/+43
|
* trival: Make the last of progs show the nameJakob Bornecrantz2009-02-193-3/+3
|
* trivial: Add quadstrip-clipJakob Bornecrantz2009-02-144-0/+140
|
* progs/trivial: Label program windows with actual program nameKeith Whitwell2009-02-18101-101/+101
| | | | | | | Each of these programs previously called itself "First Tri" which was a little confusing. Could have left one as "First Tri", but the trouble then is that people would still clone that file & we'd end up with another thousand first tri apps...
* trivial: Make tri-fog a bit more interesting to look atJakob Bornecrantz2009-02-131-8/+17
|
* trivial: Add a tri-unfilled-fog testJakob Bornecrantz2009-02-134-0/+155
|
* progs: Get more samples building on windows.José Fonseca2009-02-011-21/+18
|
* progs: Ignore more output executables.José Fonseca2009-01-231-0/+3
|
* progs/trivial: Use glew where needed.José Fonseca2009-01-2339-37/+96
| | | | Builds on windows now.
* Merge commit 'origin/gallium-0.2' into gallium-xlib-reworkKeith Whitwell2009-01-191-0/+1
|\
| * progs: List tri-clear.José Fonseca2009-01-141-0/+1
| |
* | trivial: clear with random colorKeith Whitwell2009-01-142-0/+133
|/
* Merge commit 'origin/gallium-0.1' into gallium-0.2José Fonseca2008-12-221-5/+5
|\ | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/Makefile