summaryrefslogtreecommitdiff
path: root/progs
AgeCommit message (Collapse)Author
2009-06-30progs/trivial: add test case for lighting plus per-vertex materialsKeith Whitwell
Exercise material-within-begin/end case.
2009-06-30progs/isosurf: add materials mode for glVertex + TRISTRIPKeith Whitwell
2009-06-30Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/vbo/vbo_exec_draw.c
2009-06-30progs/util: make sure function pointers are initializedKeith Whitwell
Call Init() from CompileShaderFile, was previously only called for the Text version of this function.
2009-06-30progs/tests: Add tests for glCompressedTexSubImageJakob Bornecrantz
2009-06-30xdemos: Fix xdemos which default to using display :0.0 to default to $DISPLAYJon TURNEY
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 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: 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-30progs/glsl: link with GLEW libraryBrian Paul
(cherry picked from commit b1f2f92d9b2d190d39fb1b5c919c59c9539a025a)
2009-06-29Merge branch 'mesa_7_5_branch'Brian Paul
2009-06-29progs/glsl: link with GLEW libraryBrian Paul
2009-06-29progs/util: make sure function pointers are initializedKeith Whitwell
Call Init() from CompileShaderFile, was previously only called for the Text version of this function.
2009-06-29progs/glsl: compile with scons and glewKeith Whitwell
Get most of these working with scons.
2009-06-26demos: improve argv parsing in fslight.cBrian Paul
2009-06-23demos: fix issues in glxcontexts.cBrian Paul
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é Fonseca
2009-06-17progs/wgl: Tweak the initialization wait in wglthreads.José Fonseca
There was still a non-zero probability for wglShareLists of failing.
2009-06-17progs/wgl: Get wglShareLists working in wglthreads.José Fonseca
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.
2009-06-17progs/wgl: Allow resizing wglthreads' windows.José Fonseca
2009-06-16progs/wgl: Quit after displaying usage for -h option.José Fonseca
2009-06-16progs/wgl: Use appropriate types to silence msvc warnings.José Fonseca
2009-06-16progs/wgl: Fix assertion failure in wglthreads' texture creation.José Fonseca
2009-06-15progs/tests: Use opaque colors.José Fonseca
Transparency is not relevant for this example, and leads to distraction due to different results in alpha visuals, when capturing images to disk.
2009-06-14Merge branch 'mesa_7_5_branch'Jakob Bornecrantz
2009-06-26Merge branch 'arb_vertex_array_object'Brian Paul
2009-06-26Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile src/gallium/drivers/softpipe/sp_screen.c src/mesa/main/version.h
2009-06-22tests: update bufferobj.c to test GL_ARB_vertex_array_objectBrian Paul
2009-06-19Merge branch 'ext-provoking-vertex'Brian Paul
Conflicts: docs/relnotes-7.6.html progs/tests/Makefile src/gallium/drivers/softpipe/sp_prim_vbuf.c src/glx/x11/indirect.c src/mesa/glapi/Makefile src/mesa/glapi/dispatch.h src/mesa/glapi/glapioffsets.h src/mesa/glapi/glapitable.h src/mesa/glapi/glapitemp.h src/mesa/glapi/glprocs.h src/mesa/main/dlist.c src/mesa/main/enums.c src/mesa/sparc/glapi_sparc.S src/mesa/x86-64/glapi_x86-64.S src/mesa/x86/glapi_x86.S
2009-06-18progs/rbug: Add small program to add block rulesJakob Bornecrantz
2009-06-16Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/main/api_validate.c
2009-06-15Merge branch 'mesa_7_5_branch'Thomas Hellstrom
Conflicts: progs/util/extfuncs.h
2009-06-14progs/tests: Add yet another mipmap testJakob Bornecrantz
2009-06-24Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/drivers/dri/i915/i915_tex_layout.c src/mesa/drivers/dri/i965/brw_wm_glsl.c src/mesa/drivers/dri/intel/intel_buffer_objects.c src/mesa/drivers/dri/intel/intel_pixel_bitmap.c src/mesa/drivers/dri/intel/intel_pixel_draw.c src/mesa/main/enums.c src/mesa/main/texstate.c src/mesa/vbo/vbo_exec_array.c
2009-06-20demos: make cubemap work without EXT_fbo supportRoland Scheidegger
use SGIS_generate_mipmap if EXT_fbo support (for manual mipmap generation) is not available.
2009-06-12tests: added persp_hint.c testBrian Paul
Test the effect of GL_PERSPECTIVE_CORRECTION_HINT on color interpolation.
2009-06-12tests: added arbgpuprog, for compile-testing ARB vertex/fragment programsBrian Paul
2009-06-12demos: update fbotexture.c to use EXT or ARB functions exclusivelyBrian Paul
When the -arb option is specified we use GL_ARB_framebuffer_object intead of GL_EXT_framebuffer_object. For some vendors' OpenGL it's important to call the ARB entrypoints instead of the EXT entrypoints to get correct behaviour. Use some function pointer tricks to do this (instead of GLEW).
2009-06-12util: additional function pointersBrian Paul
2009-06-12progs/rbug: Add binary to bmp converter programJakob Bornecrantz
2009-06-11Merge branch 'mesa_7_5_branch'José Fonseca
Conflicts: src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_framebuffer.c
2009-06-11progs: Port fp programs to GLEW.José Fonseca
2009-06-09tests: prim.c demo, modified for GL_EXT_provoking_vertexBrian Paul
2009-06-09tests: need tkmap.c for prim.cBrian Paul
2009-06-09Merge branch 'mesa_7_5_branch'Jakob Bornecrantz
Conflicts: Makefile src/mesa/main/version.h src/mesa/shader/slang/slang_preprocess.c src/mesa/state_tracker/st_cb_bufferobjects.c
2009-06-09tests: check for GL_EXT/ARB_framebuffer_objectBrian Paul
2009-06-09tests: also test glGetTexImage with render to textureBrian Paul
Also, adjust texture dims for the original test. And use GLEW.
2009-06-09tests: quick and dirty glGetTexImage() test programBrian Paul
2009-06-08progs/tests: Add some scissor testsJakob Bornecrantz
2009-06-04Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/main/context.c
2009-06-01progs/vpglsl: add similar support for point rendering as progs/vpKeith Whitwell