summaryrefslogtreecommitdiffstats
path: root/progs
Commit message (Collapse)AuthorAgeFilesLines
* progs/glsl: set generic vertex attribute valuesBrian Paul2009-08-131-2/+15
|
* progs/glsl: add type field to shtest config filesBrian Paul2009-08-134-54/+108
| | | | Plus, texture loading.
* glsl/tests: skinning.oDave Airlie2009-08-141-2/+2
| | | | | worst Makefile ever. not sure what is going on here, hopefully this fixes tinderbox
* progs/util: ignore pre-defined uniforms in SetUniformValues()Brian Paul2009-08-131-1/+8
|
* progs/glsl: new shtest program, a simple shader test harness appBrian Paul2009-08-135-2/+609
| | | | This commit includes some sample config files (*.shtest)
* progs/glsl: change uniform_info::type field to use GLSL vector typesBrian Paul2009-08-1211-130/+53
|
* demos: call SetUniformValues()Brian Paul2009-08-121-1/+1
|
* demos: rename InitUniforms() to SetUniformValues()Brian Paul2009-08-129-9/+16
| | | | And call new PrintUniforms() in demos.
* progs/util: added more shader utility functionsBrian Paul2009-08-122-19/+200
|
* demos: Fix the VBO usage in glsl/multitex.Eric Anholt2009-08-101-3/+3
| | | | | | | The fix for 965 to be noisy when apps sent pointers instead of VBO offsets caught this app in the act of doing exactly that. Bug #23203
* tests: have getprocaddress return a return codeRobert Ellison2009-08-071-11/+26
| | | | | | These minor changes allow getprocaddress to return an error code in the case of test failure. This allows the program to be integrated into the piglit test suite.
* mesa: improve getprocaddress testRobert Ellison2009-08-072-41/+3204
| | | | | | | | | | | | | | | - Allow the getprocaddress test to test extensions not supported by Mesa. The original getprocaddress.py script only included OpenGL extension functions that were in Mesa dispatch tables. Now all known extension functions (as detailed in gl_API.xml) are included. As the test does not link against any extension function symbols (i.e. it uses glXGetProcAddress() for all extension functions), it still compiles and links against Mesa; but now the same binary can be used to test extensions not yet supported by Mesa. - Extend the list of tested extension functions. The last revision of this test exercised 16 extension functions; this revision adds support for 95 more.
* progs/xdemos: added multictx.c (multi-context rendering demo)Brian Paul2009-08-072-0/+586
| | | | | | Create one window and render into it with two GLX contexts. Setup the rendering state differently for each context to be sure there's no state "bleeding" between contexts.
* glxgears: make functions static, update commentsBrian Paul2009-08-071-10/+3
|
* progs/egl: Add xeglbindtex, really.Chia-I Wu2009-08-061-0/+474
| | | | Missed this file in the earlier commit.
* progs/egl: Add xeglbindtex.Chia-I Wu2009-08-051-0/+7
| | | | | | | | This is a simple demo for eglBindTexImage. It uses a OpenGL context, instead of the required OpenGL ES one. But it still suffices the demo and test purpose. Signed-off-by: Chia-I Wu <[email protected]>
* Merge branch 'mesa_7_5_branch'Brian Paul2009-08-052-2/+6
|\ | | | | | | | | | | Conflicts: src/mesa/main/state.c
| * xdemo/glxswapcontrol: Move get_framge_usage after the swap.Pauli Nieminen2009-08-031-2/+3
| | | | | | | | | | | | | | | | This fixes the problem that first frame would report bogus usage values. Problem was caused because get_frame_usage returned data from previous buffer swap. Signed-off-by: Pauli Nieminen <[email protected]>
| * xdemos/glxcontexts: Don't leak visual info when choosing visual again.Pauli Nieminen2009-08-031-0/+3
| | | | | | | | Signed-off-by: Pauli Nieminen <[email protected]>
* | tests: also test xoffset in texcompsub testRoland Scheidegger2009-08-051-3/+19
| | | | | | | | | | use glCompressedTexSubImage2DARB also with xoffset by splitting into 3 calls in total. Dunno if the top/bottom reversal is intentional but leave as is.
* | tests/getteximage: test more texture sizes, including npotBrian Paul2009-08-041-50/+86
| |
* | progs/vp: Correct the PARAM array sizes in arl-*.txtIan Romanick2009-07-302-2/+2
| |
* | tests: glGetTexImage() testBrian Paul2009-07-302-2/+3
| |
* | 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'Brian Paul2009-07-1725-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
| * progs/util: remove extfuncs.h (we use GLEW instead)mesa_7_5Brian Paul2009-07-171-19/+17
| |
| * progs/glsl: finish conversion to GLEWBrian Paul2009-07-1724-344/+232
| | | | | | | | | | This is a follow-on to b799af91d5ffbee1481161fec29eb4c92b161272. Remove _func function suffix and unneeded #includes.
| * progs/tests: Use compressed texture in mipmap_comp_testsJakob Bornecrantz2009-07-141-1/+3
| |
| * progs/tests: Tests more views in mipmap_comp_testsJakob Bornecrantz2009-07-141-1/+4
| |
| * progs/tests: Add yet another mipmap testJakob Bornecrantz2009-07-144-0/+319
| |
* | xeglthreads: Check current context for EGL per-thread support.Chia-I Wu2009-07-171-2/+9
| | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
* | egl: Add xeglthreadsChia-I Wu2009-07-163-0/+775
| | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-07-131-0/+1
|\|
| * demos: set 4th component of texcoord to 1.0Brian Paul2009-07-101-0/+1
| | | | | | | | Avoid potential randomness in resulting texcoords.
* | demos: indentation fixBrian Paul2009-07-081-1/+1
| |
* | demos: use glEnable/DisableClientState() for vertex arraysBrian Paul2009-07-087-27/+27
| |
* | progs/tests: Use compressed texture in mipmap_comp_testsJakob Bornecrantz2009-07-041-1/+3
| |
* | Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-07-041-19/+16
|\|
| * demos: Fix vsync checking in glxgearsIan Romanick2009-07-061-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.
* | progs/tests: Tests more views in mipmap_comp_testsJakob Bornecrantz2009-07-041-1/+4
| |
* | Merge commit 'origin/openvg-1.0'Zack Rusin2009-07-0632-0/+5178
|\ \
| * | vg: remove a silly demo and add a bit better oneZack Rusin2009-05-014-197/+544
| | |
| * | OpenVG 1.0 State TrackerZack Rusin2009-05-0131-0/+4831
| | | | | | | | | | | | Import of the OpenVG 1.0 state tracker for Gallium.
* | | Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-07-0318-10/+5498
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
| * | progs: revert damage to progs/SConscript from recent compressed texture commitKeith Whitwell2009-07-031-0/+9
| | |
| * | Merge commit 'origin/dlist-statechange-shortcircuit' into mesa_7_5_branchKeith Whitwell2009-07-026-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.
| | * | 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.