summaryrefslogtreecommitdiffstats
path: root/progs/trivial
Commit message (Collapse)AuthorAgeFilesLines
* scons: Build progs together with everything else.José Fonseca2010-01-011-9/+2
| | | | | | | | This is a substantial reorganization, This particular commit enables: - building the progs for unices platforms - glew is now built as a shared library (it is the default, and it is inconvenient and pointless to shift away from that default) - all progs get built by default
* Merge branch 'i965g-restart'Keith Whitwell2009-12-224-5/+138
|\ | | | | | | | | Conflicts: configure.ac
| * Merge commit 'origin/master' into i965g-restartKeith Whitwell2009-12-21108-108/+108
| |\ | | | | | | | | | | | | | | | | | | Conflicts: SConstruct configs/default configs/linux-dri
| * | trivial: make tri-orig more closely match the original version of tri...Keith Whitwell2009-11-111-5/+5
| | |
| * | progs/trivial: IgnoresJakob Bornecrantz2009-11-061-0/+1
| | |
| * | trivial: add vbo-tri, an even simpler version of tri.cKeith Whitwell2009-11-062-0/+132
| | |
* | | Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul2009-12-2110-12/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac progs/demos/morph3d.c progs/demos/textures.c progs/glsl/shtest.c progs/glsl/texaaline.c progs/tests/packedpixels.c progs/xdemos/corender.c src/mesa/main/version.h
| * | | progs/trivial: Use C-style comments.Vinson Lee2009-12-1910-12/+12
| | | |
* | | | Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick2009-12-157-21/+18
|\| | | | |_|/ |/| | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_quad_blend.c
| * | progs/trivial: Silence compiler warnings.Vinson Lee2009-12-145-15/+12
| | |
| * | progs/trivial: Silence compiler warnings in tri-blend-min.c.Vinson Lee2009-12-121-3/+3
| | |
| * | progs/trivial: Silence compiler warnings in tri-blend-max.cVinson Lee2009-12-121-3/+3
| | |
| * | progs/trivial: Redraw upon keypress.Vinson Lee2009-12-034-4/+4
| | | | | | | | | | | | (cherry picked from commit 9553a42f638bd98eb90e5b7fb37d6b82758b6363)
| * | progs/trivial: Redraw upon keypress.Vinson Lee2009-12-03104-104/+104
| | | | | | | | | | | | (cherry picked from commit 3790c6a13b86dfe0afd4bb0bf9a4d9f4b429cfd8)
* | | progs/trivial: Redraw upon keypress.Vinson Lee2009-11-194-4/+4
| | |
* | | progs/trivial: Redraw upon keypress.Vinson Lee2009-11-19104-104/+104
| |/ |/|
* | Merge branch 'mesa_7_6_branch' of ↵Alex Deucher2009-10-221-0/+5
|\| | | | | | | git+ssh://[email protected]/git/mesa/mesa
| * progs/trivial: check if GL_ARB_occlusion_query is supportedBrian Paul2009-10-201-0/+5
| |
* | progs: Remove unused empty file.José Fonseca2009-10-091-0/+0
|/
* 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