Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa/vbo: fix compile and replay of nodes ending in a FALLBACK | Keith Whitwell | 2009-06-30 | 2 | -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.c | Keith Whitwell | 2009-06-30 | 2 | -0/+183 |
| | |||||
* | progs/trivial: add test case for short-circuiting material changes | Keith Whitwell | 2009-06-30 | 2 | -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.c | Keith Whitwell | 2009-06-30 | 2 | -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-call | Keith Whitwell | 2009-06-30 | 2 | -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 enabled | Keith Whitwell | 2009-06-30 | 1 | -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-shortcircuit | Keith Whitwell | 2009-06-30 | 2 | -0/+150 |
|\ | | | | | | | Need this to pick up fixes for per-vertex materials. | ||||
| * | progs/trivial: add test case for lighting plus per-vertex materials | Keith Whitwell | 2009-06-30 | 2 | -0/+150 |
| | | | | | | | | Exercise material-within-begin/end case. | ||||
* | | progs/trivial: test case for dlist statechange elimination | Keith Whitwell | 2009-06-30 | 2 | -0/+170 |
|/ | | | | | | Creates a display list with redundant call to glShadeModel. View dlist contents with MESA_VERBOSE=list | ||||
* | trivial/tri-z: add controls for depthrange min/max | Keith Whitwell | 2009-06-01 | 1 | -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. | ||||
* | trivial: destroy window upon exit | Brian Paul | 2009-05-11 | 1 | -0/+1 |
| | |||||
* | progs/trivial: add test for vertex program invarient transform | Keith Whitwell | 2009-05-08 | 3 | -0/+149 |
| | |||||
* | progs/trivial: add vbo-noninterleaved test | Keith Whitwell | 2009-05-08 | 3 | -0/+141 |
| | |||||
* | trivial: add line-flat.c | Keith Whitwell | 2009-05-08 | 3 | -0/+149 |
| | |||||
* | trivial/tri-viewport: add keys for frustrum/ortho and z coordinate | Keith Whitwell | 2009-04-21 | 1 | -43/+77 |
| | |||||
* | trivial/tri-viewport: add more out-of-bounds background quads | Keith Whitwell | 2009-04-21 | 1 | -1/+27 |
| | |||||
* | trivial/tri_viewport: add space==reset key | Keith Whitwell | 2009-04-21 | 1 | -1/+3 |
| | |||||
* | trivial/tri_viewport: add width/height keys | Keith Whitwell | 2009-04-21 | 1 | -18/+49 |
| | |||||
* | trivial/tri-viewport.c - add guide lines, more triangles, make interactive | Keith Whitwell | 2009-04-20 | 1 | -14/+118 |
| | | | | This is becoming more like a test than a trivial/ example. | ||||
* | progs: Ignores | Jakob Bornecrantz | 2009-04-02 | 1 | -0/+1 |
| | |||||
* | progs/trivial: add fflushes for cygwin | Keith Whitwell | 2009-03-24 | 115 | -0/+116 |
| | |||||
* | progs/trivial: draw non-interleaved arrays out of one vbo | Keith Whitwell | 2009-03-24 | 3 | -0/+262 |
| | |||||
* | progs/trivial: Make quad-tex-sub repeat patterns | Jakob Bornecrantz | 2009-03-18 | 1 | -7/+12 |
| | |||||
* | tests: remove/update old comments | Brian Paul | 2009-03-18 | 2 | -18/+2 |
| | |||||
* | progs/trivial: Add quad-tex-sub | Jakob Bornecrantz | 2009-03-18 | 4 | -0/+201 |
| | | | | Tests glTexSubImage | ||||
* | progs/trivial: Add tri-fbo-tex-mip | Jakob Bornecrantz | 2009-03-18 | 4 | -0/+272 |
| | | | | Tests rendering to mip levels other then first | ||||
* | progs/trivial: Ignores | Jakob Bornecrantz | 2009-03-16 | 1 | -0/+3 |
| | |||||
* | trivial: draw non-interleaved arrays | Keith Whitwell | 2009-03-12 | 3 | -0/+119 |
| | |||||
* | trivial: add a logic op test | Keith Whitwell | 2009-03-10 | 4 | -0/+368 |
| | |||||
* | trivial: add tri-stipple to SConscript | Keith Whitwell | 2009-03-09 | 1 | -0/+1 |
| | |||||
* | clear-repeat: print fps, use 300x300 window size | Keith Whitwell | 2009-03-04 | 1 | -1/+19 |
| | |||||
* | trivial: Add tri-viewport | Jakob Bornecrantz | 2009-02-21 | 4 | -0/+132 |
| | |||||
* | trivial: Fix indentation in tri | Jakob Bornecrantz | 2009-02-21 | 1 | -43/+43 |
| | |||||
* | trival: Make the last of progs show the name | Jakob Bornecrantz | 2009-02-19 | 3 | -3/+3 |
| | |||||
* | trivial: Add quadstrip-clip | Jakob Bornecrantz | 2009-02-14 | 4 | -0/+140 |
| | |||||
* | progs/trivial: Label program windows with actual program name | Keith Whitwell | 2009-02-18 | 101 | -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 at | Jakob Bornecrantz | 2009-02-13 | 1 | -8/+17 |
| | |||||
* | trivial: Add a tri-unfilled-fog test | Jakob Bornecrantz | 2009-02-13 | 4 | -0/+155 |
| | |||||
* | progs: Get more samples building on windows. | José Fonseca | 2009-02-01 | 1 | -21/+18 |
| | |||||
* | progs: Ignore more output executables. | José Fonseca | 2009-01-23 | 1 | -0/+3 |
| | |||||
* | progs/trivial: Use glew where needed. | José Fonseca | 2009-01-23 | 39 | -37/+96 |
| | | | | Builds on windows now. | ||||
* | Merge commit 'origin/gallium-0.2' into gallium-xlib-rework | Keith Whitwell | 2009-01-19 | 1 | -0/+1 |
|\ | |||||
| * | progs: List tri-clear. | José Fonseca | 2009-01-14 | 1 | -0/+1 |
| | | |||||
* | | trivial: clear with random color | Keith Whitwell | 2009-01-14 | 2 | -0/+133 |
|/ | |||||
* | Merge commit 'origin/gallium-0.1' into gallium-0.2 | José Fonseca | 2008-12-22 | 1 | -5/+5 |
|\ | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/Makefile | ||||
| * | Ignore new tests executables. | José Fonseca | 2008-12-21 | 1 | -5/+20 |
| | | |||||
| * | scons: Build progs. | José Fonseca | 2008-12-12 | 1 | -0/+163 |
| | | | | | | | | | | | | | | | | Just demos and trivial dirs for starters. Conflicts: .gitignore | ||||
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian Paul | 2008-12-10 | 3 | -0/+272 |
|\| | |||||
| * | mesa: more trivial tests | Keith Whitwell | 2008-12-10 | 3 | -0/+272 |
| | | |||||
* | | mesa: Update some .gitignore files. | Younes Manton | 2008-12-02 | 1 | -0/+16 |
| | |