summaryrefslogtreecommitdiff
path: root/progs
AgeCommit message (Collapse)AuthorFilesLines
2009-07-30progs/vp: Correct the PARAM array sizes in arl-*.txtIan Romanick2-2/+2
2009-07-30tests: glGetTexImage() testBrian Paul2-2/+3
2009-07-28Merge branch 'mesa_7_5_branch'Brian Paul2-0/+23
Conflicts: Makefile configs/default docs/relnotes.html src/mesa/main/version.h
2009-07-28progs/trivial: add missing files to Makefile, .gitignoreVinson Lee2-0/+23
2009-07-17Merge branch 'mesa_7_5_branch'Brian Paul25-375/+262
Conflicts: Makefile progs/glsl/multitex.c src/mesa/main/enums.c src/mesa/main/state.c src/mesa/main/texenvprogram.c src/mesa/main/version.h
2009-07-17progs/util: remove extfuncs.h (we use GLEW instead)mesa_7_5Brian Paul1-19/+17
2009-07-17progs/glsl: finish conversion to GLEWBrian Paul24-344/+232
This is a follow-on to b799af91d5ffbee1481161fec29eb4c92b161272. Remove _func function suffix and unneeded #includes.
2009-07-17xeglthreads: Check current context for EGL per-thread support.Chia-I Wu1-2/+9
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-16egl: Add xeglthreadsChia-I Wu3-0/+775
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-14progs/tests: Use compressed texture in mipmap_comp_testsJakob Bornecrantz1-1/+3
2009-07-14progs/tests: Tests more views in mipmap_comp_testsJakob Bornecrantz1-1/+4
2009-07-14progs/tests: Add yet another mipmap testJakob Bornecrantz4-0/+319
2009-07-13Merge branch 'mesa_7_5_branch'Brian Paul1-0/+1
2009-07-10demos: set 4th component of texcoord to 1.0Brian Paul1-0/+1
Avoid potential randomness in resulting texcoords.
2009-07-06demos: Fix vsync checking in glxgearsIan Romanick1-19/+16
Of course glXGetVideoSyncSGI doesn't return the swap interval. The feature only exists in the Mesa extension... which is the whole reason I created the Mesa extension! Note that the Mesa extension allows drivers to default to a swap interval of 0. If the Mesa extension exists, use its value. Only consider the SGI extension when the Mesa extension is not available. Fixes bug #22604.
2009-07-08demos: indentation fixBrian Paul1-1/+1
2009-07-08demos: use glEnable/DisableClientState() for vertex arraysBrian Paul7-27/+27
2009-07-04progs/tests: Use compressed texture in mipmap_comp_testsJakob Bornecrantz1-1/+3
2009-07-04Merge branch 'mesa_7_5_branch'Jakob Bornecrantz1-19/+16
2009-07-04progs/tests: Tests more views in mipmap_comp_testsJakob Bornecrantz1-1/+4
2009-07-06Merge commit 'origin/openvg-1.0'Zack Rusin32-0/+5178
2009-07-03Merge branch 'mesa_7_5_branch'Jakob Bornecrantz18-10/+5498
Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
2009-07-03progs: revert damage to progs/SConscript from recent compressed texture commitKeith Whitwell1-0/+9
2009-07-02Merge commit 'origin/dlist-statechange-shortcircuit' into mesa_7_5_branchKeith Whitwell6-0/+893
Conflicts: progs/trivial/Makefile Pull in a minimal version of statechange shortcircuiting in display list compilation. This affects only glMaterial and glShadeModel state, and includes quite a few tests to exercise various tricky cases. If this goes well, will consider extending to all state in the future.
2009-06-30demos: Set the depth mask correctly to get the desired blendingIan Romanick2-4/+4
2009-06-30mesa/vbo: fix compile and replay of nodes ending in a FALLBACKKeith Whitwell2-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.
2009-06-30progs/trivial: add dlist-mat-tri.cKeith Whitwell2-0/+183
2009-06-30progs/trivial: add test case for short-circuiting material changesKeith Whitwell2-0/+175
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 Whitwell2-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.
2009-06-30progs/trivial: add dlist-recursive-callKeith Whitwell2-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.
2009-06-30dlist-tri-flat-tri: make tri render differently if flatshade not enabledKeith Whitwell1-1/+3
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 Whitwell3-5/+170
Need this to pick up fixes for per-vertex materials.
2009-06-30progs/trivial: add test case for lighting plus per-vertex materialsKeith Whitwell2-0/+150
Exercise material-within-begin/end case.
2009-06-30progs/isosurf: add materials mode for glVertex + TRISTRIPKeith Whitwell1-5/+20
2009-06-30Merge branch 'mesa_7_5_branch'Brian Paul1-1/+6
Conflicts: src/mesa/vbo/vbo_exec_draw.c
2009-06-30progs/util: make sure function pointers are initializedKeith Whitwell1-1/+6
Call Init() from CompileShaderFile, was previously only called for the Text version of this function.
2009-06-30progs/tests: Add tests for glCompressedTexSubImageJakob Bornecrantz6-9/+4269
2009-06-30xdemos: Fix xdemos which default to using display :0.0 to default to $DISPLAYJon TURNEY4-5/+6
Fix xdemos which default to using display :0.0 to default to $DISPLAY, this is kind of irritating when testing on a display other than :0.0 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-06-30mesa/vbo: fix compile and replay of nodes ending in a FALLBACKKeith Whitwell2-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.
2009-06-30progs/trivial: test case for dlist statechange eliminationKeith Whitwell2-0/+170
Creates a display list with redundant call to glShadeModel. View dlist contents with MESA_VERBOSE=list
2009-06-30progs/glsl: link with GLEW libraryBrian Paul1-1/+1
(cherry picked from commit b1f2f92d9b2d190d39fb1b5c919c59c9539a025a)
2009-06-29Merge branch 'mesa_7_5_branch'Brian Paul1-1/+1
2009-06-29progs/glsl: link with GLEW libraryBrian Paul1-1/+1
2009-06-29progs/util: make sure function pointers are initializedKeith Whitwell1-1/+6
Call Init() from CompileShaderFile, was previously only called for the Text version of this function.
2009-06-29progs/glsl: compile with scons and glewKeith Whitwell27-1/+106
Get most of these working with scons.
2009-06-26demos: improve argv parsing in fslight.cBrian Paul1-2/+6
2009-06-23demos: fix issues in glxcontexts.cBrian Paul1-114/+46
The reshape() function was called when there was no GLX context so the viewport/modelview/projection setup wasn't doing anything. Move the call to reshape() into draw(). Also, remove -stereo, -fullscreen options and do some general clean-up.
2009-06-17progs/wgl: Fix shreadtex_mt too.José Fonseca1-6/+24
2009-06-17progs/wgl: Tweak the initialization wait in wglthreads.José Fonseca1-2/+2
There was still a non-zero probability for wglShareLists of failing.
2009-06-17progs/wgl: Get wglShareLists working in wglthreads.José Fonseca1-6/+23
wglShareLists is a little picky -- it seems to check if it has exclusive access to a lock, and fails if it doesn't. This allows the texture to be shared with all windows.