summaryrefslogtreecommitdiff
path: root/progs/trivial
AgeCommit message (Collapse)Author
2009-06-30mesa/vbo: fix compile and replay of nodes ending in a FALLBACKKeith Whitwell
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.
2009-06-30progs/trivial: add dlist-mat-tri.cKeith Whitwell
2009-06-30progs/trivial: add test case for short-circuiting material changesKeith Whitwell
Similar to dlist-tri-flat-tri, but using glMaterial calls, which have the extra property of being legal within Begin/End calls.
2009-06-30progs/trivial: add dlist-flat-tri.cKeith Whitwell
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.
2009-06-30progs/trivial: add dlist-recursive-callKeith Whitwell
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.
2009-06-30dlist-tri-flat-tri: make tri render differently if flatshade not enabledKeith Whitwell
When testing flat-shading, it helps to specify per-vertex colors so that you can distinguish between flat & smooth shading.
2009-06-30Merge branch 'mesa_7_5_branch' into dlist-statechange-shortcircuitKeith Whitwell
Need this to pick up fixes for per-vertex materials.
2009-06-30progs/trivial: add test case for lighting plus per-vertex materialsKeith Whitwell
Exercise material-within-begin/end case.
2009-06-30progs/trivial: test case for dlist statechange eliminationKeith Whitwell
Creates a display list with redundant call to glShadeModel. View dlist contents with MESA_VERBOSE=list
2009-06-01trivial/tri-z: add controls for depthrange min/maxKeith Whitwell
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.
2009-05-11trivial: destroy window upon exitBrian Paul
2009-05-08progs/trivial: add test for vertex program invarient transformKeith Whitwell
2009-05-08progs/trivial: add vbo-noninterleaved testKeith Whitwell
2009-05-08trivial: add line-flat.cKeith Whitwell
2009-04-21trivial/tri-viewport: add keys for frustrum/ortho and z coordinateKeith Whitwell
2009-04-21trivial/tri-viewport: add more out-of-bounds background quadsKeith Whitwell
2009-04-21trivial/tri_viewport: add space==reset keyKeith Whitwell
2009-04-21trivial/tri_viewport: add width/height keysKeith Whitwell
2009-04-20trivial/tri-viewport.c - add guide lines, more triangles, make interactiveKeith Whitwell
This is becoming more like a test than a trivial/ example.
2009-04-02progs: IgnoresJakob Bornecrantz
2009-03-24progs/trivial: add fflushes for cygwinKeith Whitwell
2009-03-24progs/trivial: draw non-interleaved arrays out of one vboKeith Whitwell
2009-03-18progs/trivial: Make quad-tex-sub repeat patternsJakob Bornecrantz
2009-03-18tests: remove/update old commentsBrian Paul
2009-03-18progs/trivial: Add quad-tex-subJakob Bornecrantz
Tests glTexSubImage
2009-03-18progs/trivial: Add tri-fbo-tex-mipJakob Bornecrantz
Tests rendering to mip levels other then first
2009-03-16progs/trivial: IgnoresJakob Bornecrantz
2009-03-12trivial: draw non-interleaved arraysKeith Whitwell
2009-03-10trivial: add a logic op testKeith Whitwell
2009-03-09trivial: add tri-stipple to SConscriptKeith Whitwell
2009-03-04clear-repeat: print fps, use 300x300 window sizeKeith Whitwell
2009-02-21trivial: Add tri-viewportJakob Bornecrantz
2009-02-21trivial: Fix indentation in triJakob Bornecrantz
2009-02-19trival: Make the last of progs show the nameJakob Bornecrantz
2009-02-14trivial: Add quadstrip-clipJakob Bornecrantz
2009-02-18progs/trivial: Label program windows with actual program nameKeith Whitwell
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...
2009-02-13trivial: Make tri-fog a bit more interesting to look atJakob Bornecrantz
2009-02-13trivial: Add a tri-unfilled-fog testJakob Bornecrantz
2009-02-01progs: Get more samples building on windows.José Fonseca
2009-01-23progs: Ignore more output executables.José Fonseca
2009-01-23progs/trivial: Use glew where needed.José Fonseca
Builds on windows now.
2009-01-19Merge commit 'origin/gallium-0.2' into gallium-xlib-reworkKeith Whitwell
2009-01-14trivial: clear with random colorKeith Whitwell
2009-01-14progs: List tri-clear.José Fonseca
2008-12-22Merge commit 'origin/gallium-0.1' into gallium-0.2José Fonseca
Conflicts: src/gallium/auxiliary/util/Makefile
2008-12-21Ignore new tests executables.José Fonseca
2008-12-12scons: Build progs.José Fonseca
Just demos and trivial dirs for starters. Conflicts: .gitignore
2008-12-10Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul
2008-12-10mesa: more trivial testsKeith Whitwell
2008-12-02mesa: Update some .gitignore files.Younes Manton