summaryrefslogtreecommitdiff
path: root/progs
AgeCommit message (Collapse)Author
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: 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-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-29progs/glsl: link with GLEW libraryBrian Paul
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-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-11progs: Port fp programs to GLEW.José Fonseca
2009-06-08progs/tests: Add some scissor testsJakob Bornecrantz
2009-06-01progs/vpglsl: add similar support for point rendering as progs/vpKeith Whitwell
2009-06-01trivial/tri-z: add controls for depthrange min/maxKeith Whitwell
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.
2009-06-01progs/wgl: Small cleanup to wglinfo.José Fonseca
2009-06-01progs/wgl: Use an invisible window in wglinfo.José Fonseca
2009-06-01demos: add missing dependencies for util filesBrian Paul
2009-05-22demos: fix multitex.c VertCoord attribute mappingBrian Paul
If the multitex.vert shader uses the VertCoord generic vertex attribute instead of the pre-defined gl_Vertex attribute, we need to make sure that VertCoord gets bound to generic vertex attribute zero. That's because we need to call glVertexAttrib2fv(0, xy) after all the other vertex attributes have been set since setting generic attribute 0 triggers vertex submission. Before, we wound up issuing the vertex attributes in the order 0, 1, 2 which caused the first vertex to be submitted before all the attributes were set. Now, the attributes are set in 1, 2, 0 order.
2009-05-11trivial: destroy window upon exitBrian Paul
2009-05-08progs/trivial: add test for vertex program invarient transformKeith Whitwell
2009-05-08progs/trivial: add vbo-noninterleaved testKeith Whitwell
2009-05-08trivial: add line-flat.cKeith Whitwell
2009-04-30demos: silence warningBrian Paul
2009-04-29progs/tests: Update ignoresJakob Bornecrantz
2009-04-29progs/tests: Add mipmap_comp for mipmap testing with compressed texturesJakob Bornecrantz
2009-04-28progs: add fflushes for cygwinKeith Whitwell
2009-04-28demos: asst. updates, clean-upsBrian Paul
2009-04-27demos: Clean up allocated Textures and Display Lists when demo quitShuang He
2009-04-24demos: ensure display lists are destroyed for next generationAlan Hourihane
2009-04-24shadowtex: fflush stdout for cygwinKeith Whitwell
2009-04-24demos/readpix: add option to draw triangle instead of drawpixKeith Whitwell
2009-04-24tests/mipmap_view: add a bunch of keystrokes for testing render-to-textureKeith Whitwell
Move between mipmaps, render a triangle, reload textures with either the original arch (and GenMipmaps) or via straightforward glTexImage.
2009-04-21demos: check that GL version is 2.0 or higherBrian Paul
2009-04-21trivial/tri-viewport: add keys for frustrum/ortho and z coordinateKeith Whitwell
2009-04-21trivial/tri-viewport: add more out-of-bounds background quadsKeith Whitwell
2009-04-21trivial/tri_viewport: add space==reset keyKeith Whitwell
2009-04-21trivial/tri_viewport: add width/height keysKeith Whitwell
2009-04-20mesa/progs: fix scons build after recent demo movesKeith Whitwell
2009-04-20trivial/tri-viewport.c - add guide lines, more triangles, make interactiveKeith Whitwell
This is becoming more like a test than a trivial/ example.
2009-04-20tests/mipmap_view: add linear/nearest keyKeith Whitwell
2009-04-19progs/demos: Update ignoreJakob Bornecrantz